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