| org.araneaframework.core.BaseApplicationWidget org.araneaframework.uilib.tree.TreeNodeWidget
All known Subclasses: org.araneaframework.uilib.tree.TreeWidget,
DISPLAY_KEY | final public static String DISPLAY_KEY(Code) | | Display widget id.
|
TOGGLE_KEY | final public static String TOGGLE_KEY(Code) | | Toggle event or action id.
|
TreeNodeWidget | TreeNodeWidget()(Code) | | |
TreeNodeWidget | public TreeNodeWidget(Widget display)(Code) | | Creates a new
TreeNodeWidget instance. This node has no child nodes
and will be collapsed (children hidden) by default.
Parameters: display - widget that will be used to display this node. |
TreeNodeWidget | public TreeNodeWidget(Widget display, List nodes)(Code) | | Creates a new
TreeNodeWidget instance and adds the given list of
nodes as its children. Node will be expanded (children shown) by default.
Parameters: display - widget that will be used to display this node. Parameters: nodes - list of TreeNodeWidgets added as children. |
TreeNodeWidget | public TreeNodeWidget(Widget display, List nodes, boolean collapsed)(Code) | | Creates a new
TreeNodeWidget instance and adds the given list of
nodes as its children.
Parameters: display - widget that will be used to display this node. Parameters: nodes - list of TreeNodeWidgets added as children. Parameters: collapsed - if tree node will be collapsed (children hidden) by default. |
addAllNodes | public void addAllNodes(List nodes)(Code) | | |
getIndex | public int getIndex()(Code) | | |
getNodeCount | public int getNodeCount()(Code) | | |
getNodeWrapper | protected ChildNodeWrapper getNodeWrapper(int nodeIndex)(Code) | | |
getParentCount | public int getParentCount()(Code) | | |
hasNodes | public boolean hasNodes()(Code) | | |
isCollapsed | public boolean isCollapsed()(Code) | | |
removeAllNodes | public void removeAllNodes()(Code) | | |
setCollapsed | public void setCollapsed(boolean collapsed)(Code) | | |
setIndex | public void setIndex(int index)(Code) | | |
shouldRenderToggleLink | protected boolean shouldRenderToggleLink()(Code) | | |
toggleCollapsed | public void toggleCollapsed()(Code) | | |
Methods inherited from org.araneaframework.core.BaseApplicationWidget | public Composite.Interface _getComposite()(Code)(Java Doc) public Viewable.Interface _getViewable()(Code)(Java Doc) protected void action(Path path, InputData input, OutputData output) throws Exception(Code)(Java Doc) public void addActionListener(Object actionId, ActionListener listener)(Code)(Java Doc) public void addEventListener(Object eventId, EventListener listener)(Code)(Java Doc) public void addWidget(Object key, Widget child, Environment env)(Code)(Java Doc) public void addWidget(Object key, Widget child)(Code)(Java Doc) public void clearActionListeners(Object actionId)(Code)(Java Doc) public void clearEventlisteners(Object eventId)(Code)(Java Doc) public void clearGlobalEventListener()(Code)(Java Doc) public void disableWidget(Object key)(Code)(Java Doc) public void enableWidget(Object key)(Code)(Java Doc) protected void event(Path path, InputData input) throws Exception(Code)(Java Doc) protected Object getActionId(InputData input)(Code)(Java Doc) final public Environment getChildEnvironment()(Code)(Java Doc) protected Environment getChildWidgetEnvironment() throws Exception(Code)(Java Doc) public Map getChildren()(Code)(Java Doc) public Environment getEnvironment()(Code)(Java Doc) protected String getEventId(InputData input)(Code)(Java Doc) public Object getViewModel() throws Exception(Code)(Java Doc) public Widget getWidget(Object key)(Code)(Java Doc) protected void handleAction(InputData input, OutputData output) throws Exception(Code)(Java Doc) protected void handleEvent(InputData input) throws Exception(Code)(Java Doc) protected void handleUpdate(InputData input) throws Exception(Code)(Java Doc) protected void propagate(Message message) throws Exception(Code)(Java Doc) public void putViewData(String key, Object customDataItem)(Code)(Java Doc) public void putViewDataOnce(String key, Object customDataItem)(Code)(Java Doc) public void removeActionListener(ActionListener listener)(Code)(Java Doc) public void removeEventListener(EventListener listener)(Code)(Java Doc) public void removeViewData(String key)(Code)(Java Doc) public void removeWidget(Object key)(Code)(Java Doc) protected void render(OutputData output) throws Exception(Code)(Java Doc) public void setGlobalEventListener(EventListener eventListener)(Code)(Java Doc) protected void update(InputData input) throws Exception(Code)(Java Doc)
|
|
|