|
Gridarta Editor
|
Inheritance diagram for net.sf.gridarta.model.scripts.ScriptArchUtils:
Collaboration diagram for net.sf.gridarta.model.scripts.ScriptArchUtils:Public Member Functions | |
| void | addEventsToJList (@NotNull JList< String > list, @NotNull Iterable<? extends GameObject<?, ?, ?>> gameObject) |
| Set all ScriptedEvents to appear in the given JList This method should be fast because it may be executed when user clicks on map objects. More... | |
| String | getArchetypeNameForEventType (int eventType) throws UndefinedEventArchetypeTypeException |
| Returns the archetype for an event type. More... | |
| String [] | getEventNames () |
| Returns all event names. More... | |
| int | indexToEventType (int index) |
| Converts a combo box index to an event type. More... | |
| String | typeName (int eventType) |
| Returns a human readable name for an event type. More... | |
Definition at line 26 of file ScriptArchUtils.java.
| void net.sf.gridarta.model.scripts.ScriptArchUtils.addEventsToJList | ( | @NotNull JList< String > | list, |
| @NotNull Iterable<? extends GameObject<?, ?, ?>> | gameObject | ||
| ) |
Set all ScriptedEvents to appear in the given JList This method should be fast because it may be executed when user clicks on map objects.
| list | the JList |
| gameObject | the game object to operate on |
Implemented in net.sf.gridarta.gui.scripts.AbstractScriptArchUtils.
Referenced by net.sf.gridarta.gui.panel.gameobjectattributes.EventsTab< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doAddNewEvent(), net.sf.gridarta.gui.scripts.ScriptArchDataUtils< G, A, R >.modifyEventScript(), and net.sf.gridarta.gui.panel.gameobjectattributes.EventsTab< 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:| String net.sf.gridarta.model.scripts.ScriptArchUtils.getArchetypeNameForEventType | ( | int | eventType | ) | throws UndefinedEventArchetypeTypeException |
Returns the archetype for an event type.
| eventType | the event type |
| UndefinedEventArchetypeTypeException | if the event type is undefined |
Implemented in net.sf.gridarta.var.crossfire.gui.scripts.DefaultScriptArchUtils, net.sf.gridarta.var.atrinik.gui.scripts.DefaultScriptArchUtils, and net.sf.gridarta.var.daimonin.gui.scripts.DefaultScriptArchUtils.
Referenced by net.sf.gridarta.model.scripts.AbstractScriptedEventFactory< GameObject, MapArchObject, Archetype >.newEventGameObject().
Here is the caller graph for this function:| String [] net.sf.gridarta.model.scripts.ScriptArchUtils.getEventNames | ( | ) |
Returns all event names.
Implemented in net.sf.gridarta.gui.scripts.AbstractScriptArchUtils.
| int net.sf.gridarta.model.scripts.ScriptArchUtils.indexToEventType | ( | int | index | ) |
Converts a combo box index to an event type.
| index | the combo box index |
Implemented in net.sf.gridarta.gui.scripts.AbstractScriptArchUtils.
Referenced by net.sf.gridarta.gui.scripts.ScriptArchEditor< G, A, R >.createNewEvent().
Here is the caller graph for this function:| String net.sf.gridarta.model.scripts.ScriptArchUtils.typeName | ( | int | eventType | ) |
Returns a human readable name for an event type.
| eventType | the event type |
Implemented in net.sf.gridarta.gui.scripts.AbstractScriptArchUtils.
Referenced by net.sf.gridarta.gui.scripts.ScriptArchEditor< G, A, R >.createNewEvent(), and net.sf.gridarta.gui.scripts.ScriptArchDataUtils< G, A, R >.modifyEventScript().
Here is the caller graph for this function: