Class MetisViewerEntry
java.lang.Object
io.github.tonywasher.joceanus.metis.viewer.MetisViewerEntry
Data Viewer Entry.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMetisViewerEntry(MetisViewerManager pManager, MetisViewerEntry pParent, String pName) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet child iterator.booleanGet display name.intgetId()Get id.protected MetisViewerManagerGet viewer manager.Get object.protected MetisViewerEntryGet parent.Get unique name.inthashCode()booleanIs the entry visible?.voidsetFocus()Set Focus onto this entry.voidSet Focus onto child of this entry.voidSet the object referred to by the entry.voidsetTreeObject(Object pObject) Set the tree object referred to by the entry.voidsetVisible(boolean pVisible) Set entry visibility.toString()
-
Constructor Details
-
MetisViewerEntry
Constructor.- Parameters:
pManager- the viewer managerpParent- the parent entrypName- the entry display name
-
-
Method Details
-
getManager
Get viewer manager.- Returns:
- the manager
-
getParent
Get parent.- Returns:
- the parent
-
getUniqueName
Get unique name.- Returns:
- the name
-
getDisplayName
Get display name.- Returns:
- the name
-
getId
public int getId()Get id.- Returns:
- the id
-
getObject
Get object.- Returns:
- the object
-
toString
-
childIterator
Get child iterator.- Returns:
- the iterator
-
isVisible
public boolean isVisible()Is the entry visible?.- Returns:
- true/false
-
setVisible
public void setVisible(boolean pVisible) Set entry visibility.- Parameters:
pVisible- true/false
-
setFocus
public void setFocus()Set Focus onto this entry. -
setFocus
Set Focus onto child of this entry.- Parameters:
pName- the name of the child
-
setObject
Set the object referred to by the entry.- Parameters:
pObject- the new object
-
setTreeObject
Set the tree object referred to by the entry.- Parameters:
pObject- the new object
-
equals
-
hashCode
public int hashCode()
-