|
Gridarta Editor
|
Abstract base class for recent and bookmark menu entries. More...
Inheritance diagram for net.sf.gridarta.gui.mapmenu.MapMenuEntry:
Collaboration diagram for net.sf.gridarta.gui.mapmenu.MapMenuEntry:Public Member Functions | |
| abstract boolean | allowsChildren () |
| Returns whether this entry is a directory. More... | |
| String | getTitle () |
| Returns the entry's title. More... | |
| void | setTitle (@NotNull final String title) |
| Sets the entry's title. More... | |
| String | toString () |
| abstract void | visit (@NotNull MapMenuEntryVisitor visitor) |
| Calls the. More... | |
Protected Member Functions | |
| MapMenuEntry (@NotNull final String title) | |
| Creates a new instance. More... | |
Private Attributes | |
| String | title |
| The title. More... | |
Static Private Attributes | |
| static final long | serialVersionUID = 1L |
| The serial version UID. More... | |
Abstract base class for recent and bookmark menu entries.
Definition at line 29 of file MapMenuEntry.java.
|
protected |
Creates a new instance.
| title | the entry's title |
Definition at line 46 of file MapMenuEntry.java.
References net.sf.gridarta.gui.mapmenu.MapMenuEntry.title.
|
abstract |
Returns whether this entry is a directory.
Referenced by net.sf.gridarta.gui.mapmenu.MapMenu.getOrCreateDirectory(), net.sf.gridarta.gui.mapmenu.MapMenuEntry.setTitle(), and net.sf.gridarta.gui.mapmenu.MapMenu.size().
Here is the caller graph for this function:| String net.sf.gridarta.gui.mapmenu.MapMenuEntry.getTitle | ( | ) |
Returns the entry's title.
Definition at line 55 of file MapMenuEntry.java.
References net.sf.gridarta.gui.mapmenu.MapMenuEntry.title.
Referenced by net.sf.gridarta.gui.mapmenu.MapMenuTest.checkDir(), net.sf.gridarta.gui.mapmenu.MapMenuPreferencesTest.compareTrees(), net.sf.gridarta.gui.mapmenu.MapMenu.getDirectory(), net.sf.gridarta.gui.mapmenu.MapMenu.getOrCreateDirectory(), net.sf.gridarta.gui.mapmenu.MapMenuEntryTreeCellRenderer.getTreeCellRendererComponent(), net.sf.gridarta.gui.mapmenu.MapMenu.saveEntries(), net.sf.gridarta.gui.mapmenu.MapMenuPreferencesTest.test1(), and net.sf.gridarta.gui.mapmenu.MapMenuAction.update().
Here is the caller graph for this function:| void net.sf.gridarta.gui.mapmenu.MapMenuEntry.setTitle | ( | @NotNull final String | title | ) |
Sets the entry's title.
| title | the title |
Definition at line 63 of file MapMenuEntry.java.
References net.sf.gridarta.gui.mapmenu.MapMenuEntry.allowsChildren(), net.sf.gridarta.gui.mapmenu.MapMenuEntry.title, and net.sf.gridarta.gui.mapmenu.MapMenuEntry.visit().
Referenced by net.sf.gridarta.gui.mapmenu.MapMenuPreferencesTest.test3().
Here is the call graph for this function:
Here is the caller graph for this function:| String net.sf.gridarta.gui.mapmenu.MapMenuEntry.toString | ( | ) |
Definition at line 82 of file MapMenuEntry.java.
References net.sf.gridarta.gui.mapmenu.MapMenuEntry.title.
Referenced by net.sf.gridarta.gui.mapmenu.MapMenu.getDirectory().
Here is the caller graph for this function:
|
abstract |
Calls the.
function of the MapMenuEntryVisitor for this instance.
| visitor | the visitor to call |
Referenced by net.sf.gridarta.gui.mapmenu.MapMenuPreferencesTest.compareTrees(), net.sf.gridarta.gui.mapmenu.MapMenuEntryTreeCellRenderer.getTreeCellRendererComponent(), net.sf.gridarta.gui.mapmenu.MapMenu.saveEntries(), and net.sf.gridarta.gui.mapmenu.MapMenuEntry.setTitle().
Here is the caller graph for this function:
|
staticprivate |
The serial version UID.
Definition at line 34 of file MapMenuEntry.java.
|
private |
The title.
Definition at line 40 of file MapMenuEntry.java.
Referenced by net.sf.gridarta.gui.mapmenu.MapMenuEntry.getTitle(), net.sf.gridarta.gui.mapmenu.MapMenuEntry.MapMenuEntry(), net.sf.gridarta.gui.mapmenu.MapMenuEntry.setTitle(), and net.sf.gridarta.gui.mapmenu.MapMenuEntry.toString().