| org.netbeans.modules.palette.Model
All known Subclasses: org.netbeans.spi.palette.ProxyModel, org.netbeans.modules.palette.DefaultModel,
Model | public interface Model (Code) | | An interface for palette contents.
author: S. Aubrecht |
Field Summary | |
final public static String | PROP_SELECTED_ITEM Interested parties should listent to changes of this property to be
notified when the selected item has changed. |
PROP_SELECTED_ITEM | final public static String PROP_SELECTED_ITEM(Code) | | Interested parties should listent to changes of this property to be
notified when the selected item has changed.
|
canReorderCategories | boolean canReorderCategories()(Code) | | |
clearSelection | void clearSelection()(Code) | | Ensure no item is selected.
|
getActions | Action[] getActions()(Code) | | Actions for palette's popup menu. |
getRoot | Lookup getRoot()(Code) | | |
getSelectedCategory | Category getSelectedCategory()(Code) | | The category that owns the currently selected item. |
getSelectedItem | Item getSelectedItem()(Code) | | The item currently selected in the palette or null if no item is selected. |
setSelectedItem | void setSelectedItem(Lookup category, Lookup item)(Code) | | Select new item and category.
Parameters: |
|
|