Gridarta Editor
net.sf.gridarta.model.data.NamedObjects< E extends NamedObject > Interface Template Reference

This class manages NamedObjects, managing their tree as well as providing a method for showing a dialog for browsing their tree and selecting one from it. More...

+ Inheritance diagram for net.sf.gridarta.model.data.NamedObjects< E extends NamedObject >:
+ Collaboration diagram for net.sf.gridarta.model.data.NamedObjects< E extends NamedObject >:

Public Member Functions

boolean containsKey (@NotNull String name)
 Check whether an object is defined. More...
 
get (@NotNull String objectName)
 Gets a AbstractNamedObject. More...
 
String getName ()
 Returns the tree name. More...
 
NamedTreeNode< E > getTreeRoot ()
 Get the object tree root. More...
 
Iterator< E > iterator ()
 NamedObjects are iterated in Unicode (=case sensitive ASCII) order. More...
 
int size ()
 Get the number of objects. More...
 

Detailed Description

This class manages NamedObjects, managing their tree as well as providing a method for showing a dialog for browsing their tree and selecting one from it.

NamedObjects are iterated in Unicode (=ASCII) order.

Author
Christian Hujer

Definition at line 33 of file NamedObjects.java.

Member Function Documentation

◆ containsKey()

boolean net.sf.gridarta.model.data.NamedObjects< E extends NamedObject >.containsKey ( @NotNull String  name)

Check whether an object is defined.

Parameters
nameobject name to look for
Returns
true
if an object with that name is defined, otherwise
false

Referenced by net.sf.gridarta.gui.panel.gameobjectattributes.FaceTab< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.refresh().

+ Here is the caller graph for this function:

◆ get()

◆ getName()

String net.sf.gridarta.model.data.NamedObjects< E extends NamedObject >.getName ( )

Returns the tree name.

Returns
the tree name

◆ getTreeRoot()

Get the object tree root.

Returns
object tree root

◆ iterator()

Iterator<E> net.sf.gridarta.model.data.NamedObjects< E extends NamedObject >.iterator ( )

NamedObjects are iterated in Unicode (=case sensitive ASCII) order.

◆ size()


The documentation for this interface was generated from the following file: