|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.richclient.command.support.SimpleGroupContainerPopulator
public class SimpleGroupContainerPopulator
A default implementation of the GroupContainerPopulator
interface.
Constructor Summary | |
---|---|
SimpleGroupContainerPopulator(Container container)
Creates a new SimpleGroupContainerPopulator that will populate the given container. |
Method Summary | |
---|---|
void |
add(Component c)
Adds the given component to the underlying container. |
void |
addSeparator()
Adds a separator to the underlying container. |
Container |
getContainer()
Returns the underlying container that this instance is responsible for populating. |
void |
onPopulated()
Default implementation, no action is performed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleGroupContainerPopulator(Container container)
SimpleGroupContainerPopulator
that will populate the given container.
container
- The container to be populated. Must not be null.
IllegalArgumentException
- if container
is null.Method Detail |
---|
public Container getContainer()
getContainer
in interface GroupContainerPopulator
public void add(Component c)
add
in interface GroupContainerPopulator
c
- The component to be added. Must not be null.public void addSeparator()
addSeparator
in interface GroupContainerPopulator
public void onPopulated()
onPopulated
in interface GroupContainerPopulator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |