sgtplot
Interface Attribute
-
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- ContourLineAttribute, DefaultContourLineAttribute, GridAttribute, LineAttribute, PointAttribute, VectorAttribute
public interface Attribute extends java.io.SerializableDefines an interface for classes that provide rendering information forsgtplot.dmclasses.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidaddPropertyChangeListener(java.beans.PropertyChangeListener listener)Add listener for changes to attribute properties.java.lang.StringgetId()Get attribute id.booleanisBatch()Is the attribute in batch mode?voidremovePropertyChangeListener(java.beans.PropertyChangeListener listener)Remove change listener.voidsetBatch(boolean batch)Batch the changes to the attribute.voidsetBatch(boolean batch, boolean local)Batch the changes to the attribute and set local flag.voidsetId(java.lang.String id)Set attribute id.java.lang.StringtoString()Return a printable representation of the object.
-
-
-
Method Detail
-
toString
java.lang.String toString()
Return a printable representation of the object.- Overrides:
toStringin classjava.lang.Object- Returns:
- Description
-
addPropertyChangeListener
void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Add listener for changes to attribute properties. The properties that can be listened for depend on the implementing class.- Since:
- 2.0
-
removePropertyChangeListener
void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Remove change listener.- Since:
- 2.0
-
setId
void setId(java.lang.String id)
Set attribute id.- Since:
- 3.0
-
getId
java.lang.String getId()
Get attribute id.- Since:
- 3.0
-
setBatch
void setBatch(boolean batch)
Batch the changes to the attribute.- Since:
- 3.0
-
setBatch
void setBatch(boolean batch, boolean local)Batch the changes to the attribute and set local flag. Determines whetherAttributeChangeEventwill be set local.- Since:
- 3.0
-
isBatch
boolean isBatch()
Is the attribute in batch mode?- Since:
- 3.0
-
-
DMelt 3.0 © DataMelt by jWork.ORG