| java.lang.Object org.netbeans.modules.palette.DefaultModel
DefaultModel | public class DefaultModel implements Model,NodeListener(Code) | | Default implementation of PaletteModel interface based on Nodes.
author: S. Aubrecht |
DefaultModel | public DefaultModel(RootNode rootNode)(Code) | | Creates a new instance of DefaultPaletteModel
Parameters: rootNode - Palette's root node. |
canBlock | public static boolean canBlock()(Code) | | |
canReorderCategories | public boolean canReorderCategories()(Code) | | |
childrenAdded | public void childrenAdded(NodeMemberEvent ev)(Code) | | Fired when a set of new children is added.
Parameters: ev - event describing the action |
childrenRemoved | public void childrenRemoved(NodeMemberEvent ev)(Code) | | Fired when a set of children is removed.
Parameters: ev - event describing the action |
childrenReordered | public void childrenReordered(NodeReorderEvent ev)(Code) | | Fired when the order of children is changed.
Parameters: ev - event describing the change |
clearSelection | public void clearSelection()(Code) | | |
getRoot | public Lookup getRoot()(Code) | | |
getSelectedItem | public Item getSelectedItem()(Code) | | |
nodeDestroyed | public synchronized void nodeDestroyed(NodeEvent ev)(Code) | | Fired when the node is deleted.
Parameters: ev - event describing the node |
refresh | public void refresh()(Code) | | |
setSelectedItem | public void setSelectedItem(Lookup category, Lookup item)(Code) | | |
|
|