|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.graphics.components.TreeIconModel
@SASScope(value="ALL") public class TreeIconModel
ModelBase,
TextStyle,
GanttChartModel,
StrokeLineStyle| Constructor Summary | |
|---|---|
TreeIconModel(javax.swing.Icon icon)
|
|
TreeIconModel(javax.swing.Icon openIcon,
javax.swing.Icon closeIcon,
javax.swing.Icon leafIcon)
|
|
| Method Summary | |
|---|---|
void |
apply(TreeIconModel theOtherObject)
Utility method to convey properties contained in "theOtherObject" to this object. |
boolean |
equals(java.lang.Object obj)
Determines whether another object is equal to this TableAxisModel. |
javax.swing.Icon |
getClosedIcon()
Return the closed icon that will be used when displaying hierarchical data in a treetable. |
javax.swing.Icon |
getLeafIcon()
Return the leaf icon that will be used when displaying hierarchical data in a treetable. |
javax.swing.Icon |
getOpenIcon()
Return the open icon that will be used when displaying hierarchical data in a treetable. |
int |
hashCode()
Computes the hash code for this TreeIconModel. |
void |
setClosedIcon(javax.swing.Icon icon)
Define closed icon that will be used when displaying hierarchical data in a treetable. |
void |
setLeafIcon(javax.swing.Icon icon)
Define leaf icon that will be used when displaying hierarchical data in a treetable. |
void |
setOpenIcon(javax.swing.Icon icon)
Define open icon that will be used when displaying hierarchical data in a treetable. |
| Methods inherited from class com.sas.graphics.components.ModelBase |
|---|
addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, setContainedModel |
| Constructor Detail |
|---|
public TreeIconModel(javax.swing.Icon openIcon,
javax.swing.Icon closeIcon,
javax.swing.Icon leafIcon)
public TreeIconModel(javax.swing.Icon icon)
| Method Detail |
|---|
public void apply(TreeIconModel theOtherObject)
Note: Contained "models" (i.e. properties that are subclasses of ModelBase) will in turn be called on to convey their properties to the like contained models in the other object. In that respect this can be considered a "tree" type copy.
Also Note: This is a deep copy. Thus after the copy, mutable properties will not be shared by the two instances.
theOtherObject - properties applied to this instancepublic boolean equals(java.lang.Object obj)
TableAxisModel.
The result is true if and only if the argument is not
null and is a TableAxisModel object that has the same
property values as this object.
equals in class ModelBaseobj - the object to test for equality with this
TableAxisModel
true if the objects are the same;
false otherwise.public void setOpenIcon(javax.swing.Icon icon)
icon - Icon to be displayed for an open tree node.getOpenIcon()public javax.swing.Icon getOpenIcon()
setOpenIcon(javax.swing.Icon)public void setClosedIcon(javax.swing.Icon icon)
icon - Icon to be displayed for a closed tree node.getClosedIcon()public javax.swing.Icon getClosedIcon()
setClosedIcon(javax.swing.Icon)public void setLeafIcon(javax.swing.Icon icon)
icon - Icon to be displayed for a leaf tree node.getLeafIcon()public javax.swing.Icon getLeafIcon()
setLeafIcon(javax.swing.Icon)public int hashCode()
TreeIconModel.
hashCode in class ModelBase
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||