public class ExtendedMenuEvent extends EventObject
source
Constructor and Description |
---|
ExtendedMenuEvent(IExtendedMenu menu,
String id)
Constructs a new template menu event.
|
ExtendedMenuEvent(IExtendedMenu menu,
String id,
String container,
String insertAt,
int seek)
Constructs a new template menu event.
|
Modifier and Type | Method and Description |
---|---|
String |
getContainer()
Returns the container id of the element.
|
String |
getId()
Returns the id of the changed element.
|
String |
getInsertAt()
Returns a positional string parameter.
|
IExtendedMenuBar |
getMenuTemplate()
Returns the menu template that has fired the event.
|
int |
getSeek()
Returns the exact position of the element relative to the insertAt value.
|
getSource, toString
public ExtendedMenuEvent(IExtendedMenu menu, String id)
menu
- the menu in which the change has occuredid
- the id of the changed elementpublic ExtendedMenuEvent(IExtendedMenu menu, String id, String container, String insertAt, int seek)
menu
- the menu in which the change has occuredid
- the id of the changed elementcontainer
- the container of the elementinsertAt
- a positional string of the elementseek
- a value that refers to insertAt and describing the exact
positionpublic String getId()
public String getContainer()
public String getInsertAt()
public int getSeek()
public IExtendedMenuBar getMenuTemplate()