Package com.iizigo.prop
Interface IPropertyEditorCustomMenu
- public interface IPropertyEditorCustomMenuCustomized menu for a property container being edited in the property editor.- Author:
- Christopher Mindus
 
- Method Summary- All Methods Instance Methods Abstract Methods - Modifier and Type - Method - Description - void- initializeMenu(PropertyEditor editor, PropCnr[] editProps, FlatToolbarButton button)Called to initialize the menu with the menu items required created for the button.- void- onPressed(PropertyEditor editor, PropCnr[] editProps)Called when a menu is not created for the button, and the button has been pressed.- boolean- shouldCreate(PropertyEditor editor, PropCnr[] editProps)Called to check if the button with its drop-down menu should be created or not.
 
- Method Detail- shouldCreate- boolean shouldCreate(PropertyEditor editor, PropCnr[] editProps) Called to check if the button with its drop-down menu should be created or not.- Parameters:
- editor- The property editor instance.
- editProps- The property containers being edited.
- Returns:
- true to create the button, false otherwise.
 
 - initializeMenu- void initializeMenu(PropertyEditor editor, PropCnr[] editProps, FlatToolbarButton button) Called to initialize the menu with the menu items required created for the button.- Parameters:
- editor- The property editor instance.
- editProps- The property containers being edited.
- button- The button that should own the menu.
 
 - onPressed- void onPressed(PropertyEditor editor, PropCnr[] editProps) Called when a menu is not created for the button, and the button has been pressed.