public class ToolBarModel extends java.lang.Object implements IToolBarModel
Constructor and Description |
---|
ToolBarModel() |
public final void addListModelListener(IListModelListener listener)
IListModelObservable
addListModelListener
in interface IListModelObservable
listener
- The listener to addpublic final void removeListModelListener(IListModelListener listener)
IListModelObservable
removeListModelListener
in interface IListModelObservable
listener
- The listener to removepublic final void bind(IToolBarModel model)
IToolBarModel
bind
in interface IToolBarModel
model
- The model to bind this model topublic final void unbind(IToolBarModel model)
IToolBarModel
unbind
in interface IToolBarModel
model
- the model to unbind, may be not bound already but must not be nullpublic final void addItemsOfModel(IToolBarModel model)
addItemsOfModel
in interface IToolBarModel
public final void addItem(IToolBarItemModel item)
addItem
in interface IToolBarModel
public final void addItem(int index, IToolBarItemModel item)
addItem
in interface IToolBarModel
public final <MODEL_TYPE extends IToolBarItemModel,BUILDER_TYPE extends IItemModelBuilder<?,MODEL_TYPE>> MODEL_TYPE addItem(BUILDER_TYPE itemBuilder)
addItem
in interface IToolBarModel
public final <MODEL_TYPE extends IToolBarItemModel,BUILDER_TYPE extends IItemModelBuilder<?,MODEL_TYPE>> MODEL_TYPE addItem(int index, BUILDER_TYPE itemBuilder)
addItem
in interface IToolBarModel
public final void addAfter(IToolBarItemModel newItem, java.lang.String id)
addAfter
in interface IToolBarModel
public final void addBefore(IToolBarItemModel newItem, java.lang.String id)
addBefore
in interface IToolBarModel
public final IActionItemModel addAction(IAction action)
addAction
in interface IToolBarModel
public final IActionItemModel addAction(int index, IAction action)
addAction
in interface IToolBarModel
public final IActionItemModel addActionItem()
addActionItem
in interface IToolBarModel
public final IActionItemModel addActionItem(java.lang.String text)
addActionItem
in interface IToolBarModel
public final IActionItemModel addActionItem(java.lang.String text, java.lang.String toolTipText)
addActionItem
in interface IToolBarModel
public final IActionItemModel addActionItem(java.lang.String text, IImageConstant icon)
addActionItem
in interface IToolBarModel
public final IActionItemModel addActionItem(java.lang.String text, java.lang.String toolTipText, IImageConstant icon)
addActionItem
in interface IToolBarModel
public final IActionItemModel addActionItem(IImageConstant icon, java.lang.String toolTipText)
addActionItem
in interface IToolBarModel
public final IPopupActionItemModel addPopupActionItem()
addPopupActionItem
in interface IToolBarModel
public final IPopupActionItemModel addPopupActionItem(java.lang.String text)
addPopupActionItem
in interface IToolBarModel
public final IPopupActionItemModel addPopupActionItem(java.lang.String text, java.lang.String toolTipText)
addPopupActionItem
in interface IToolBarModel
public final IPopupActionItemModel addPopupActionItem(java.lang.String text, IImageConstant icon)
addPopupActionItem
in interface IToolBarModel
public final IPopupActionItemModel addPopupActionItem(java.lang.String text, java.lang.String toolTipText, IImageConstant icon)
addPopupActionItem
in interface IToolBarModel
public final IPopupActionItemModel addPopupActionItem(IImageConstant icon, java.lang.String toolTipText)
addPopupActionItem
in interface IToolBarModel
public final IContainerItemModel addContainer()
addContainer
in interface IToolBarModel
public final IPopupActionItemModel addPopupAction(IAction action, IMenuModel popupMenu)
addPopupAction
in interface IToolBarModel
public final IPopupActionItemModel addPopupAction(int index, IAction action, IMenuModel popupMenu)
addPopupAction
in interface IToolBarModel
public final IContainerItemModel addContainer(IContainerContentCreator contentCreator)
addContainer
in interface IToolBarModel
public IContainerItemModel addContainer(IWidgetDescriptor<? extends IControl> descriptor, java.lang.Object layoutConstraints)
addContainer
in interface IToolBarModel
public IContainerItemModel addTextLabel(java.lang.String text)
addTextLabel
in interface IToolBarModel
public final ICheckedItemModel addCheckedItem()
addCheckedItem
in interface IToolBarModel
public final ICheckedItemModel addCheckedItem(java.lang.String text)
addCheckedItem
in interface IToolBarModel
public final ICheckedItemModel addCheckedItem(java.lang.String text, java.lang.String toolTipText)
addCheckedItem
in interface IToolBarModel
public final ICheckedItemModel addCheckedItem(java.lang.String text, IImageConstant icon)
addCheckedItem
in interface IToolBarModel
public final ICheckedItemModel addCheckedItem(java.lang.String text, java.lang.String toolTipText, IImageConstant icon)
addCheckedItem
in interface IToolBarModel
public final ICheckedItemModel addCheckedItem(IImageConstant icon, java.lang.String toolTipText)
addCheckedItem
in interface IToolBarModel
public final ISeparatorItemModel addSeparator()
addSeparator
in interface IToolBarModel
public final ISeparatorItemModel addSeparator(java.lang.String id)
addSeparator
in interface IToolBarModel
public final ISeparatorItemModel addSeparator(int index)
addSeparator
in interface IToolBarModel
public final void removeItem(IToolBarItemModel item)
removeItem
in interface IToolBarModel
public final void removeItem(int index)
removeItem
in interface IToolBarModel
public final void removeAllItems()
removeAllItems
in interface IToolBarModel
public final void removeAction(IAction action)
removeAction
in interface IToolBarModel
public final void removeItemsOfModel(IToolBarModel toolBarModel)
removeItemsOfModel
in interface IToolBarModel
public final IToolBarItemModel findItemById(java.lang.String id)
findItemById
in interface IToolBarModel
public final java.util.List<IToolBarItemModel> getItems()
getItems
in interface IToolBarModel
public final IToolBarModel createCopy()
IToolBarModel
createCopy
in interface IToolBarModel
Siehe auch Jowidgets Nutzerhandbuch