|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.graphics.components.HierarchyModel
public class HierarchyModel
ModelBase
,
GanttChartModel
Constructor Summary | |
---|---|
HierarchyModel()
|
Method Summary | |
---|---|
void |
apply(HierarchyModel theOtherObject)
Utility method to convey properties contained in "theOtherObject" to this object. |
void |
clearTreeIconModel()
Clear all value icon definitions. |
boolean |
equals(java.lang.Object obj)
Determines whether another object is equal to this TableAxisModel . |
TreeIconModel |
getTreeIconModel()
Return the default icons that will be used when displaying hierarchical data in a treetable. |
TreeIconModel |
getTreeIconModel(java.lang.Object key)
Get a TreeIconModel definition for a unique tree value. |
int |
hashCode()
Computes the hash code for this HierarchyModel . |
boolean |
isEnabled()
Returns whether to display the data in tree hierarchy form. |
java.util.Set |
keySetTreeIconModel()
Retrieve key set for all value icon definitions. |
void |
putTreeIconModel(java.lang.Object key,
TreeIconModel treeIconModel)
Define value icons that will be used when displaying hierarchical data in a treetable. |
void |
removeTreeIconModel(java.lang.Object key)
Remove a TreeIconModel definition. |
void |
setEnabled(boolean newBoolean)
Sets whether the table is drawn with a tree to show the hierarchy relationship of the tasks. |
void |
setTreeIconModel(TreeIconModel newTreeIconModel)
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 HierarchyModel()
Method Detail |
---|
public void apply(HierarchyModel 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 void setEnabled(boolean newBoolean)
newBoolean
- used to determine if tree hierarchy is shown.isEnabled()
public boolean isEnabled()
setEnabled(boolean)
public 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 ModelBase
obj
- the object to test for equality with this
TableAxisModel
true
if the objects are the same;
false
otherwise.public void setTreeIconModel(TreeIconModel newTreeIconModel)
newTreeIconModel
- to be displayed for the default open, closed, tree node.getTreeIconModel()
public TreeIconModel getTreeIconModel()
setTreeIconModel(com.sas.graphics.components.TreeIconModel)
public void putTreeIconModel(java.lang.Object key, TreeIconModel treeIconModel)
key
- unique tree value.treeIconModel
- icon to be displayed per unique tree value.
getTreeIconModel(Object)
,
removeTreeIconModel(Object)
,
clearTreeIconModel()
,
keySetTreeIconModel()
public TreeIconModel getTreeIconModel(java.lang.Object key)
key
- unique tree value.
putTreeIconModel(Object,TreeIconModel)
,
removeTreeIconModel(Object)
,
clearTreeIconModel()
,
keySetTreeIconModel()
public void removeTreeIconModel(java.lang.Object key)
key
- unique tree value.
putTreeIconModel(Object,TreeIconModel)
,
getTreeIconModel(Object)
,
clearTreeIconModel()
,
keySetTreeIconModel()
public void clearTreeIconModel()
putTreeIconModel(Object,TreeIconModel)
,
getTreeIconModel(Object)
,
removeTreeIconModel(Object)
,
keySetTreeIconModel()
public java.util.Set keySetTreeIconModel()
putTreeIconModel(Object,TreeIconModel)
,
getTreeIconModel(Object)
,
removeTreeIconModel(Object)
,
clearTreeIconModel()
public int hashCode()
HierarchyModel
.
hashCode
in class ModelBase
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |