|
Diamond Control Suite 3.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object diamondedge.swing.DsActionGroup
public abstract class DsActionGroup
Method Summary | |
---|---|
Action |
add(Action action)
|
Action |
add(int index,
Action action)
|
void |
clear()
Removes all elements from the collection. |
protected AbstractButton |
createActionButton(Action action)
Create button for a new item in this group. |
Action |
getAction(int index)
|
Action |
getAction(String key)
|
int |
getActionCount()
Returns the number of actions in the collection. |
Color |
getBackground()
Returns the group's background color. |
Component |
getComponent()
Returns the component used to display this group of actions. |
Font |
getFont()
Returns the properties of the list items Font object. |
Color |
getForeground()
Returns the foreground (text) color of the list items. |
String |
getKey()
Returns the distinct Key within the collection. |
abstract Component |
getNavigationComponent()
Returns the component used to navigate to this group of actions. |
String |
getTitle()
Returns the caption of the group. |
void |
propertyChange(PropertyChangeEvent e)
|
Action |
remove(int index)
|
Action |
remove(String key)
|
void |
setBackground(Color val)
Sets the group's background color. |
void |
setFont(Font val)
Sets the properties of the list items Font object. |
void |
setForeground(Color val)
Sets the foreground (text) color of the list items. |
void |
setKey(String val)
Sets the distinct Key within the collection. |
void |
setTitle(String val)
Sets the caption of the group. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getActionCount()
public Action add(Action action)
public Action add(int index, Action action)
protected AbstractButton createActionButton(Action action)
public Action remove(int index)
public Action remove(String key)
public void clear()
public abstract Component getNavigationComponent()
public Component getComponent()
public Action getAction(int index)
public Action getAction(String key)
public Color getForeground()
public void setForeground(Color val)
public Color getBackground()
public void setBackground(Color val)
public String getTitle()
public void setTitle(String val)
public Font getFont()
public void setFont(Font val)
public String getKey()
public void setKey(String val)
public void propertyChange(PropertyChangeEvent e)
propertyChange
in interface PropertyChangeListener
|
Diamond Control Suite 3.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |