uic.model
Class UICActionList

java.lang.Object
  extended by uic.model.UICActionList

public class UICActionList
extends Object

The placeholder class that ActionFactory returns for certain entries in your .rc file.


Method Summary
 void add(UICAction action)
          add an action as a child of this list to be shown on screen.
 void addSeparator()
           
 String getName()
           
 void setChildrenAreNested(boolean nested)
          Set the child actions to be created as nested items if true; or inline otherwise.
 void setEnabled(boolean enabled)
           
 void setTitle(String title)
          Only used when setChildrenAreNested has been called with 'true'.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setChildrenAreNested

public void setChildrenAreNested(boolean nested)
Set the child actions to be created as nested items if true; or inline otherwise. A list can either be 'in place' (nested=false) or it can create a new MenuItem or Button that when clicked shows a popup with all children.

Parameters:
nested - if true create a submenu or popup for the children.

setTitle

public void setTitle(String title)
Only used when setChildrenAreNested has been called with 'true'.


getName

public String getName()
Returns:
name of this action list.

add

public void add(UICAction action)
add an action as a child of this list to be shown on screen.


addSeparator

public void addSeparator()

setEnabled

public void setEnabled(boolean enabled)


Copyright © 2002-2004 Thomas Zander Available under the Free Apache licence