public interface UIMenuBuilder
| Modifier and Type | Interface and Description |
|---|---|
static interface |
UIMenuBuilder.Block_replaceChildrenOfMenuForIdentifierFromChildrenBlock |
| Modifier and Type | Method and Description |
|---|---|
UIAction |
actionForIdentifier(java.lang.String identifier)
Fetch the identified action.
|
UICommand |
commandForActionPropertyList(org.moe.natj.objc.SEL action,
java.lang.Object propertyList)
Fetch the identified command.
|
void |
insertChildMenuAtEndOfMenuForIdentifier(UIMenu childMenu,
java.lang.String parentIdentifier)
Insert a child menu at the end of an identified parent menu.
|
void |
insertChildMenuAtStartOfMenuForIdentifier(UIMenu childMenu,
java.lang.String parentIdentifier)
Insert a child menu at the start of an identified parent menu.
|
void |
insertSiblingMenuAfterMenuForIdentifier(UIMenu siblingMenu,
java.lang.String siblingIdentifier)
Insert a sibling menu after an identified sibling menu.
|
void |
insertSiblingMenuBeforeMenuForIdentifier(UIMenu siblingMenu,
java.lang.String siblingIdentifier)
Insert a sibling menu before an identified sibling menu.
|
UIMenu |
menuForIdentifier(java.lang.String identifier)
Fetch the identified menu.
|
void |
removeMenuForIdentifier(java.lang.String removedIdentifier)
Remove an identified menu.
|
void |
replaceChildrenOfMenuForIdentifierFromChildrenBlock(java.lang.String parentIdentifier,
UIMenuBuilder.Block_replaceChildrenOfMenuForIdentifierFromChildrenBlock childrenBlock)
Replace the children of an identified parent menu.
|
void |
replaceMenuForIdentifierWithMenu(java.lang.String replacedIdentifier,
UIMenu replacementMenu)
Replace an identified menu with a menu.
|
UIMenuSystem |
system()
Which system we are building for.
|
UIAction actionForIdentifier(java.lang.String identifier)
identifier - The identifier of the action to fetch.UICommand commandForActionPropertyList(org.moe.natj.objc.SEL action, java.lang.Object propertyList)
action - The action of the command to fetch.propertyList - Property list object to distinguish commands, if needed.void insertChildMenuAtEndOfMenuForIdentifier(UIMenu childMenu, java.lang.String parentIdentifier)
childGroup - The child menu to insert.parentIdentifier - The identifier of the parent menu to insert at the end of.void insertChildMenuAtStartOfMenuForIdentifier(UIMenu childMenu, java.lang.String parentIdentifier)
childGroup - The child menu to insert.parentIdentifier - The identifier of the parent menu to insert at the start of.void insertSiblingMenuAfterMenuForIdentifier(UIMenu siblingMenu, java.lang.String siblingIdentifier)
siblingGroup - The sibling menu to insert.siblingIdentifier - The identifier of the sibling menu to insert after.void insertSiblingMenuBeforeMenuForIdentifier(UIMenu siblingMenu, java.lang.String siblingIdentifier)
siblingGroup - The sibling menu to insert.siblingIdentifier - The identifier of the sibling menu to insert before.UIMenu menuForIdentifier(java.lang.String identifier)
identifier - The identifier of the menu to fetch.void removeMenuForIdentifier(java.lang.String removedIdentifier)
removedIdentifier - The menu to remove.void replaceChildrenOfMenuForIdentifierFromChildrenBlock(java.lang.String parentIdentifier,
UIMenuBuilder.Block_replaceChildrenOfMenuForIdentifierFromChildrenBlock childrenBlock)
parentIdentifier - The identifier of the parent menu.childrenBlock - A block that returns the new children, given the old children.void replaceMenuForIdentifierWithMenu(java.lang.String replacedIdentifier,
UIMenu replacementMenu)
replacedIdentifier - The identifier of the menu to be replaced.replacementGroup - The replacement menu.UIMenuSystem system()