|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bbn.openmap.layer.beanbox.SimpleBeanObject
com.bbn.openmap.layer.beanbox.SimpleBeanContainer
public class SimpleBeanContainer
A SimpleBeanContainer is itself a bean. Hence this class extends
the SimpleBeanObject.
SimpleBeanContainer is a sample implementation of the
BeanContainerinterface.
| Field Summary |
|---|
| Fields inherited from class com.bbn.openmap.layer.beanbox.SimpleBeanObject |
|---|
bearingInDeg, customGraphicClassName, graphicImage, id, latitude, longitude |
| Constructor Summary | |
|---|---|
SimpleBeanContainer()
|
|
SimpleBeanContainer(long id,
float centerLatitude,
float centerLongitude,
float bearingInDeg,
float widthInNM,
float heightInNM,
BeanLayoutManager layoutManager)
|
|
| Method Summary | |
|---|---|
void |
add(java.lang.Object bean)
adds the specified bean object to this container. |
boolean |
contains(java.lang.Object obj)
checks if the specified bean lies in this container. |
float |
getBottomLatitude()
|
java.util.Vector |
getContents()
gets the contents of this container as a vector of bean objects. |
float |
getHeightInNM()
|
BeanLayoutManager |
getLayout()
gets the layout manager bean assocciated with this container. |
java.lang.String |
getLayoutClass()
gets the class name of the layout manager bean assocciated with this container. |
float |
getLeftLongitude()
|
float |
getRightLongitude()
|
float |
getTopLatitude()
|
float |
getWidthInNM()
|
void |
remove(java.lang.Object bean)
removes the specified bean object from this container. |
void |
removeAll()
removes all beans from this container. |
void |
setBearingInDeg(float bearingInDeg)
|
void |
setContents(java.util.Vector contents)
sets the contents of this container as a vector of bean objects. |
void |
setHeightInNM(float h)
|
void |
setLatitude(float lat)
|
void |
setLayout(BeanLayoutManager layout)
sets the layout manager bean assocciated with this container. |
void |
setLayoutClass(java.lang.String lc)
sets the class name of the layout manager bean assocciated with this container. |
void |
setLongitude(float lon)
|
void |
setWidthInNM(float w)
|
java.lang.String |
toString()
|
void |
validate()
calling this method is meant to generate a call to the layout manager's layoutContainer method. |
| Methods inherited from class com.bbn.openmap.layer.beanbox.SimpleBeanObject |
|---|
getBearingInDeg, getCustomGraphicClassName, getGraphicImage, getId, getLatitude, getLongitude, setCustomGraphicClassName, setGraphicImage, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleBeanContainer()
public SimpleBeanContainer(long id,
float centerLatitude,
float centerLongitude,
float bearingInDeg,
float widthInNM,
float heightInNM,
BeanLayoutManager layoutManager)
| Method Detail |
|---|
public java.util.Vector getContents()
BeanContainer
getContents in interface BeanContainerpublic void setContents(java.util.Vector contents)
BeanContainer
setContents in interface BeanContainerpublic void add(java.lang.Object bean)
BeanContainer
add in interface BeanContainerpublic void remove(java.lang.Object bean)
BeanContainer
remove in interface BeanContainerpublic void removeAll()
BeanContainer
removeAll in interface BeanContainerpublic boolean contains(java.lang.Object obj)
BeanContainer
contains in interface BeanContainerpublic BeanLayoutManager getLayout()
BeanContainer
getLayout in interface BeanContainerpublic void setLayout(BeanLayoutManager layout)
BeanContainer
setLayout in interface BeanContainerpublic java.lang.String getLayoutClass()
BeanContainer
getLayoutClass in interface BeanContainerpublic void setLayoutClass(java.lang.String lc)
BeanContainer
setLayoutClass in interface BeanContainerpublic void validate()
BeanContainer
validate in interface BeanContainerpublic void setLatitude(float lat)
setLatitude in class SimpleBeanObjectpublic void setLongitude(float lon)
setLongitude in class SimpleBeanObjectpublic void setBearingInDeg(float bearingInDeg)
setBearingInDeg in class SimpleBeanObjectpublic float getWidthInNM()
public void setWidthInNM(float w)
public float getHeightInNM()
public void setHeightInNM(float h)
public float getBottomLatitude()
public float getRightLongitude()
public float getTopLatitude()
public float getLeftLongitude()
public java.lang.String toString()
toString in class SimpleBeanObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||