public class MenuAdapter extends java.lang.Object implements GriffonPivotAdapter, org.apache.pivot.wtk.MenuListener
Constructor and Description |
---|
MenuAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
activeItemChanged(org.apache.pivot.wtk.Menu arg0,
org.apache.pivot.wtk.Menu.Item arg1) |
CallableWithArgs<java.lang.Void> |
getActiveItemChanged() |
CallableWithArgs<java.lang.Void> |
getSectionInserted() |
CallableWithArgs<java.lang.Void> |
getSectionsRemoved() |
void |
sectionInserted(org.apache.pivot.wtk.Menu arg0,
int arg1) |
void |
sectionsRemoved(org.apache.pivot.wtk.Menu arg0,
int arg1,
org.apache.pivot.collections.Sequence<org.apache.pivot.wtk.Menu.Section> arg2) |
void |
setActiveItemChanged(CallableWithArgs<java.lang.Void> activeItemChanged) |
void |
setSectionInserted(CallableWithArgs<java.lang.Void> sectionInserted) |
void |
setSectionsRemoved(CallableWithArgs<java.lang.Void> sectionsRemoved) |
public CallableWithArgs<java.lang.Void> getSectionInserted()
public CallableWithArgs<java.lang.Void> getSectionsRemoved()
public CallableWithArgs<java.lang.Void> getActiveItemChanged()
public void setSectionInserted(CallableWithArgs<java.lang.Void> sectionInserted)
public void setSectionsRemoved(CallableWithArgs<java.lang.Void> sectionsRemoved)
public void setActiveItemChanged(CallableWithArgs<java.lang.Void> activeItemChanged)
public void sectionInserted(org.apache.pivot.wtk.Menu arg0, int arg1)
sectionInserted
in interface org.apache.pivot.wtk.MenuListener
public void sectionsRemoved(org.apache.pivot.wtk.Menu arg0, int arg1, org.apache.pivot.collections.Sequence<org.apache.pivot.wtk.Menu.Section> arg2)
sectionsRemoved
in interface org.apache.pivot.wtk.MenuListener
public void activeItemChanged(org.apache.pivot.wtk.Menu arg0, org.apache.pivot.wtk.Menu.Item arg1)
activeItemChanged
in interface org.apache.pivot.wtk.MenuListener