|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.richclient.command.GroupMember
org.springframework.richclient.command.GlueGroupMember
public class GlueGroupMember
A member of a CommandGroup that represents a 'glue' component between other members
of the group.
A glue component is most often used as a filler between other components in a layout where those components cannot expand beyound a maximum height or width. As the layout area expands, the glue component will expand to take up the space.
Box.createGlue()| Field Summary |
|---|
| Fields inherited from class org.springframework.richclient.command.GroupMember |
|---|
logger |
| Constructor Summary | |
|---|---|
GlueGroupMember()
Creates a new uninitialized GlueGroupMember. |
|
| Method Summary | |
|---|---|
protected void |
fill(GroupContainerPopulator parentContainer,
Object factory,
CommandButtonConfigurer configurer,
List previousButtons)
Adds a glue component using the given container populator. |
boolean |
managesCommand(String commandId)
Always returns false. |
void |
setEnabled(boolean enabled)
Default implemenation, performs no operation. |
| Methods inherited from class org.springframework.richclient.command.GroupMember |
|---|
getCommand, onAdded, onRemoved |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GlueGroupMember()
GlueGroupMember.
| Method Detail |
|---|
protected void fill(GroupContainerPopulator parentContainer,
Object factory,
CommandButtonConfigurer configurer,
List previousButtons)
controlFactory provided, but it will generally be
a control that a command can be associated with, such as a button or menu item.
fill in class GroupMemberparentContainer - The object responsible for populating a GUI container with
an appropriate control component based on this instance. Must not be null.factory - The factory for creating an appropriate GUI control that the underlying
command will be associated with.configurer - The object that is to configure the newly created control component.previousButtons - A list of AbstractButton instances that have already been
added to the container. May be null or empty.public final boolean managesCommand(String commandId)
managesCommand in class GroupMembercommandId - The id of the command to be checked for. May be null.
public void setEnabled(boolean enabled)
setEnabled in class GroupMemberenabled - The enabled flag.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||