Package mgui.interfaces
Class InterfaceOptions
java.lang.Object
mgui.interfaces.InterfaceOptions
- All Implemented Interfaces:
InterfaceObject,NamedObject,TreeObject,CleanableObject
- Direct Known Subclasses:
CaminoProcessOptions,CaminoProjectOptions,CaminoTaskOptions,CaretPaintOptions,CorticalThicknessDataTableOptions,CorticalThicknessOptions,DataFieldOptions,DataQueryOptions,DataSourceDriverOptions,DataSourceLinkOptions,DataSourceOptions,DataTableOptions,InterfaceIOOptions,InterfacePlotOptions,InterfaceProjectOptions,MathExpressionOptions,MeshDataMaskOptions,MeshDataOptions,MeshPlaneMaskOptions,MeshSubmeshOptions,PipelineProcessInstanceOptions,PipelineProcessLibraryOptions,PipelineProcessOptions,ProjectDirectoryOptions,ProjectOptions,ScalpAndSkullModelOptions,SgtPlotLayoutOptions,ToolCreateMeshFromPolylinesOptions,ToolCutMeshWithPlaneOptions,ToolGetConvexHull2DOptions,ToolGetMeshIntersectionPolylinesOptions,VideoTaskOptions,VolumeFileWriteOptions,VolumeMaskOptions,VolumeMaskOptions_old
public abstract class InterfaceOptions extends java.lang.Object implements InterfaceObject
Base interface for specifying options or parameters for some process.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
-
Constructor Summary
Constructors Constructor Description InterfaceOptions() -
Method Summary
Modifier and Type Method Description voidclean()Instructs this object to search its members for any object which has been destroyed, and release the pointer to it.voiddestroy()Destroy this object (prepare it to be removed from memory)java.lang.StringgetName()Gets the name for this object.java.lang.StringgetTreeLabel()Returns the label text to appear in a tree node.booleanisDestroyed()Test whether this object has been destroyedInterfaceTreeNodeissueTreeNode()Issues a newInterfaceTreeNodefor this object.voidsetName(java.lang.String name)Sets the name for this object.voidsetTreeNode(InterfaceTreeNode node)Sets the children for this node'sInterfaceTreeNode.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
InterfaceOptions
public InterfaceOptions()
-
-
Method Details
-
clean
public void clean()Description copied from interface:CleanableObjectInstructs this object to search its members for any object which has been destroyed, and release the pointer to it.- Specified by:
cleanin interfaceCleanableObject
-
destroy
public void destroy()Description copied from interface:InterfaceObjectDestroy this object (prepare it to be removed from memory)- Specified by:
destroyin interfaceInterfaceObject
-
isDestroyed
public boolean isDestroyed()Description copied from interface:InterfaceObjectTest whether this object has been destroyed- Specified by:
isDestroyedin interfaceInterfaceObject- Returns:
-
getName
public java.lang.String getName()Description copied from interface:NamedObjectGets the name for this object.- Specified by:
getNamein interfaceNamedObject- Returns:
-
setName
public void setName(java.lang.String name)Description copied from interface:NamedObjectSets the name for this object.- Specified by:
setNamein interfaceNamedObject
-
issueTreeNode
Description copied from interface:TreeObjectIssues a newInterfaceTreeNodefor this object. The object is responsible for maintaining, updating, and destroying the tree nodes it issues, or notifying containers -- i.e., parent trees -- of changes which require the tree nodes to be modified or destroyed.- Specified by:
issueTreeNodein interfaceTreeObject- Returns:
-
setTreeNode
Description copied from interface:TreeObjectSets the children for this node'sInterfaceTreeNode.- Specified by:
setTreeNodein interfaceTreeObject
-
getTreeLabel
public java.lang.String getTreeLabel()Description copied from interface:TreeObjectReturns the label text to appear in a tree node.- Specified by:
getTreeLabelin interfaceTreeObject- Returns:
-