|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MapPanelChild
A simple interface to let an object know it wants to be added to the MapPanel, and where it would like to be placed. The MapPanel can look for these components in the MapHandler.
Field Summary | |
---|---|
static java.lang.String |
ParentNameProperty
The property a MapPanelChild would use to designate a parent component ("parent"). |
static java.lang.String |
PreferredLocationProperty
The property a MapPanelChild would use to set its preferred location in its properties ("preferredLocation"). |
Method Summary | |
---|---|
java.lang.String |
getParentName()
Should return the name of the desired parent component. |
java.lang.String |
getPreferredLocation()
Should return BorderLayout.NORTH, BorderLayout.SOUTH, BorderLayout.EAST or BorderLayout.WEST. |
void |
setPreferredLocation(java.lang.String string)
Should be provided with BorderLayout.NORTH, BorderLayout.SOUTH, BorderLayout.EAST or BorderLayout.WEST. |
Field Detail |
---|
static final java.lang.String PreferredLocationProperty
static final java.lang.String ParentNameProperty
Method Detail |
---|
void setPreferredLocation(java.lang.String string)
java.lang.String getPreferredLocation()
java.lang.String getParentName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |