Interface fa_menuCore

fa_menuCore
All Superinterfaces:
fa_aria, fa_groupName, fa_itemClientDatas, fa_items
All Implemented Interfaces:
fa_aria, fa_groupName, fa_itemClientDatas, fa_items
All Known Implementing Classes:
f_menu, f_menuBar, f_menuBarBase, f_menuBase

public abstract fa_menuCore
extends fa_items, fa_aria, fa_groupName

Aspect Menu


Field Summary
 
Fields inherited from class fa_items
AS_CHECK_BUTTON, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_RESET_BUTTON, AS_SEPARATOR, AS_SUBMIT_BUTTON
 
Method Summary
 Object f_appendCheckItem(Object parentItem, String id, String label, String value, boolean checked, String accessKey, String tooltip, boolean disabled, boolean visible, String acceleratorKey)
           
 Object f_appendItem(Object parentItem, String id, String label, String value, String accessKey, String tooltip, boolean disabled, boolean visible, String acceleratorKey)
          Add an item to a component.
 Object f_appendRadioItem(Object parentItem, String id, String groupName, String label, String value, boolean checked, String accessKey, String tooltip, boolean disabled, boolean visible, String acceleratorKey)
           
 Object f_appendSeparatorItem(Object parentItem)
           
 Object f_getCheckedItemInGroup(Object item)
          Returns a list of items
 String f_getItemLabel(any item)
          Returns the label of the item.
 Object[] f_listAllInGroup(Object item)
           
 void f_removeAllItems(Object menuItem)
          Remove all items
 void f_setItemLabel(any item, String label)
          Set the label of the item.
 
Methods inherited from class fa_items
f_getInputType, f_getItemAccessKey, f_getItemByValue, f_getItemDisabledImageURL, f_getItemGroupName, f_getItemHoverImageURL, f_getItemImageURL, f_getItemSelectedImageURL, f_getItemStyleClass, f_getItemToolTip, f_getItemValue, f_hasItemChildren, f_hasVisibleItemChildren, f_isItemChecked, f_isItemDisabled, f_isItemVisible, f_listItemChildren, f_listVisibleItemChildren, f_setItemChecked, f_setItemDisabled, f_setItemDisabledImageURL, f_setItemGroupName, f_setItemHoverImageURL, f_setItemImageURL, f_setItemSelectedImageURL, f_setItemStyleClass, f_setItemToolTip, f_setItemVisible
 
Methods inherited from class fa_itemClientDatas
f_getItemByValue, f_getItemClientData, f_getItemClientDatas, f_setItemClientData
 
Methods inherited from class fa_groupName
f_mapIntoGroup
 

Method Detail

f_appendItem

Object f_appendItem(Object parentItem,
                    String id,
                    String label,
                    String value,
                    String accessKey,
                    String tooltip,
                    boolean disabled,
                    boolean visible,
                    String acceleratorKey)
Add an item to a component.

Parameters:
parentItem - Parent object or null
id - Identifier of the item. (can be null)
label - Label of the item.
value - Value of the item.
accessKey - Access key of the item.
tooltip -
disabled -
visible -
acceleratorKey -

f_appendRadioItem

Object f_appendRadioItem(Object parentItem,
                         String id,
                         String groupName,
                         String label,
                         String value,
                         boolean checked,
                         String accessKey,
                         String tooltip,
                         boolean disabled,
                         boolean visible,
                         String acceleratorKey)
Parameters:
parentItem - Parent object or null
id - Identifier of the item. (can be null)
groupName - Group name of the item.
label - Label of the item.
value -
checked -
accessKey -
tooltip -
disabled -
visible -
acceleratorKey -

f_getCheckedItemInGroup

Object f_getCheckedItemInGroup(Object item)
Returns a list of items

Parameters:
item -

f_appendCheckItem

Object f_appendCheckItem(Object parentItem,
                         String id,
                         String label,
                         String value,
                         boolean checked,
                         String accessKey,
                         String tooltip,
                         boolean disabled,
                         boolean visible,
                         String acceleratorKey)
Parameters:
parentItem - Parent object or null
id - Identifier of the item. (can be null)
label - Label of the item.
value -
checked -
accessKey -
tooltip -
disabled -
visible -
acceleratorKey -

f_setItemLabel

void f_setItemLabel(any item,
                    String label)
Set the label of the item.

Parameters:
item - The value of the item, or the item object.
label - Label of the item.

f_listAllInGroup

Object[] f_listAllInGroup(Object item)
Parameters:
item -

f_removeAllItems

void f_removeAllItems(Object menuItem)
Remove all items

Parameters:
menuItem -

f_appendSeparatorItem

Object f_appendSeparatorItem(Object parentItem)
Parameters:
parentItem - Parent object or null

f_getItemLabel

String f_getItemLabel(any item)
Returns the label of the item.

Parameters:
item - The value of the item, or the item object.
Returns:
The label.