|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--harmonic.mz.data.ModelNode
|
+--harmonic.mz.data.FileNode
This is a special type of ModelNode that is used for the root of a model file.
| Field Summary | |
boolean |
bBackUpIsCurrent
Whether or not the backup file is current on disk |
boolean |
bCompressed
File should be keeped compressed |
static boolean |
bCurrentOnCreate
|
boolean |
bCurrentOnDisk
Whether or not the model file is the same as the tree in memory |
boolean |
bLocked
If true, model cannot be modified |
boolean |
bModelFile
True if represents a model file. |
boolean |
bReading
If true, model is currently being read from file |
ModelNode |
currentGeneralList
|
ModelNode |
currentGroup
|
java.util.Hashtable |
currents
|
java.lang.String |
currentTag
|
java.lang.String |
filename
|
harmonic.viewer3D.LightRack |
lightRack
Light rack for this model |
harmonic.viewer3D.LightRack |
selectLightRack
Managed to be above, plus a couple others |
int |
serialNoPos
|
java.util.Vector |
tagList
|
harmonic.viewer3D.LightRack |
tentativeSelectLightRack
Managed to be above, plus a couple others |
| Fields inherited from class harmonic.mz.data.ModelNode |
_fileRoot_, _thread_, ATTRIB_CONTROL_WIDGET, ATTRIB_LISTABLE, ATTRIB_PRESENTABLE, ATTRIB_PRIVATE, ATTRIB_REMOVEABLE, ATTRIB_RENAMEABLE, ATTRIB_SHOW_CONTEXT_MENU, ATTRIB_TYPE_FILTER, ATTRIB_USERGROUP, ATTRIB_VALUE_GROUP, ATTRIB_VE_LISTENER, bCustomCS, bDebug, bValid, name |
| Constructor Summary | |
FileNode()
|
|
FileNode(java.lang.String name)
|
|
| Method Summary | |
void |
close()
|
ModelNode |
getCurrentGroup()
Return the current group to add nodes in this file |
java.util.Hashtable |
getCurrentsTable()
Return String->DataNode mapping of current values |
java.lang.String |
getFilename()
Return filename with directory. |
java.lang.String |
getTreeName()
Override to return lable for tree interface |
java.awt.Image |
getTypeImage()
Returns the image to be used for this node in list interfaces that may put an image by node |
boolean |
getVisibility(harmonic.viewer3D.Viewport view)
|
boolean |
isModelFile()
|
void |
lock()
|
void |
makeContextMenu(HWM_GroupData menu)
May be overrideen to add functions pertaining to this node to context menu. |
void |
purgeFinal()
Called by database when node is intended to never come back, such as when a file is closed or node is deleted out of the undo system. |
void |
save()
|
void |
setCurrent()
|
void |
setVisibility(boolean bShow,
harmonic.viewer3D.Viewport view)
Set the visibilitly state with respect to the givin view. |
java.lang.String |
toString()
Prints name for large nodes (with children), the value for small nodes. |
void |
unlock()
|
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public java.lang.String filename
public boolean bCurrentOnDisk
public boolean bBackUpIsCurrent
public boolean bLocked
public boolean bCompressed
public boolean bReading
public harmonic.viewer3D.LightRack lightRack
public harmonic.viewer3D.LightRack selectLightRack
public harmonic.viewer3D.LightRack tentativeSelectLightRack
public boolean bModelFile
public ModelNode currentGroup
public ModelNode currentGeneralList
public java.util.Hashtable currents
public static boolean bCurrentOnCreate
public int serialNoPos
public java.lang.String currentTag
public java.util.Vector tagList
| Constructor Detail |
public FileNode()
public FileNode(java.lang.String name)
| Method Detail |
public void purgeFinal()
ModelNode
purgeFinal in interface DataNodepurgeFinal in class ModelNodepublic java.lang.String getFilename()
public ModelNode getCurrentGroup()
public java.util.Hashtable getCurrentsTable()
public boolean isModelFile()
public java.lang.String getTreeName()
ModelNode
getTreeName in interface DataNodegetTreeName in class ModelNodepublic java.awt.Image getTypeImage()
ModelNode
getTypeImage in interface DataNodegetTypeImage in class ModelNodepublic void makeContextMenu(HWM_GroupData menu)
ModelNode
makeContextMenu in class ModelNodepublic void setCurrent()
public void close()
public void save()
public void lock()
public void unlock()
public java.lang.String toString()
ModelNode
toString in class ModelNode
public void setVisibility(boolean bShow,
harmonic.viewer3D.Viewport view)
public boolean getVisibility(harmonic.viewer3D.Viewport view)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||