|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.richclient.command.CommandGroupModelBuilder
org.springframework.richclient.command.CommandGroupJComponentBuilder
public abstract class CommandGroupJComponentBuilder
CommandGroupComponentBuilder is a s-pecial case of the
CommandGroupModelBuilder
that
is specifically designed to build swing GUI components based on the passed in
command-group.
Basically it wraps the buildXXXModel method hierarchy of the
CommandGroupModelBuilder
into
a buildXXXComponent structure that does the necessary typecasting allong the
way.
CommandGroupModelBuilder
Constructor Summary | |
---|---|
CommandGroupJComponentBuilder()
|
Method Summary | |
---|---|
protected abstract JComponent |
buildChildComponent(JComponent parentComponent,
AbstractCommand command,
int level)
JComponent-building variant of the CommandGroupModelBuilder.buildChildModel(Object, AbstractCommand, int) |
protected Object |
buildChildModel(Object parentModel,
AbstractCommand command,
int level)
Implementation wrapping around the #buildChildComponent(JComponent, AbstractCommand, int)dModel(AbstractCommand) |
JComponent |
buildComponent(CommandGroup commandGroup)
JComponent-building variant of the CommandGroupModelBuilder.buildModel(CommandGroup) |
protected abstract JComponent |
buildGroupComponent(JComponent parentComponent,
CommandGroup command,
int level)
JComponent-building variant of the CommandGroupModelBuilder.buildGroupModel(Object, CommandGroup, int) |
protected Object |
buildGroupModel(Object parentModel,
CommandGroup commandGroup,
int level)
Implementation wrapping around the buildGroupComponent(JComponent, CommandGroup, int) |
protected abstract JComponent |
buildRootComponent(AbstractCommand command)
JComponent-building variant of the CommandGroupModelBuilder.buildRootModel(CommandGroup) |
protected Object |
buildRootModel(CommandGroup commandGroup)
Implementation wrapping around the buildRootComponent(AbstractCommand) |
Methods inherited from class org.springframework.richclient.command.CommandGroupModelBuilder |
---|
buildModel, continueDeeper |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommandGroupJComponentBuilder()
Method Detail |
---|
public JComponent buildComponent(CommandGroup commandGroup)
CommandGroupModelBuilder.buildModel(CommandGroup)
protected abstract JComponent buildRootComponent(AbstractCommand command)
CommandGroupModelBuilder.buildRootModel(CommandGroup)
protected abstract JComponent buildChildComponent(JComponent parentComponent, AbstractCommand command, int level)
CommandGroupModelBuilder.buildChildModel(Object, AbstractCommand, int)
protected abstract JComponent buildGroupComponent(JComponent parentComponent, CommandGroup command, int level)
CommandGroupModelBuilder.buildGroupModel(Object, CommandGroup, int)
protected final Object buildRootModel(CommandGroup commandGroup)
buildRootComponent(AbstractCommand)
buildRootModel
in class CommandGroupModelBuilder
commandGroup
- at the root of the structure
protected final Object buildGroupModel(Object parentModel, CommandGroup commandGroup, int level)
buildGroupComponent(JComponent, CommandGroup, int)
buildGroupModel
in class CommandGroupModelBuilder
parentModel
- the objectmodel that was created for the parent-command.level
- in the structure we are at ATM
protected final Object buildChildModel(Object parentModel, AbstractCommand command, int level)
#buildChildComponent(JComponent, AbstractCommand, int)dModel(AbstractCommand)
buildChildModel
in class CommandGroupModelBuilder
parentModel
- the objectmodel that was created for the parent-command.command
- currently visited command in the structure.level
- in the structure we are at ATM
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |