|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bbn.openmap.examples.beanbox.SimpleBeanObject
com.bbn.openmap.examples.beanbox.SimpleBeanContainer
A SimpleBeanContainer is itself a bean. Hence this class extends
the SimpleBeanObject
.
SimpleBeanContainer is a sample implementation of the
BeanContainer
interface.
Field Summary |
Fields inherited from class com.bbn.openmap.examples.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.examples.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 BeanContainer
public void setContents(java.util.Vector contents)
BeanContainer
setContents
in interface BeanContainer
public void add(java.lang.Object bean)
BeanContainer
add
in interface BeanContainer
public void remove(java.lang.Object bean)
BeanContainer
remove
in interface BeanContainer
public void removeAll()
BeanContainer
removeAll
in interface BeanContainer
public boolean contains(java.lang.Object obj)
BeanContainer
contains
in interface BeanContainer
public BeanLayoutManager getLayout()
BeanContainer
getLayout
in interface BeanContainer
public void setLayout(BeanLayoutManager layout)
BeanContainer
setLayout
in interface BeanContainer
public java.lang.String getLayoutClass()
BeanContainer
getLayoutClass
in interface BeanContainer
public void setLayoutClass(java.lang.String lc)
BeanContainer
setLayoutClass
in interface BeanContainer
public void validate()
BeanContainer
validate
in interface BeanContainer
public void setLatitude(float lat)
setLatitude
in class SimpleBeanObject
public void setLongitude(float lon)
setLongitude
in class SimpleBeanObject
public void setBearingInDeg(float bearingInDeg)
setBearingInDeg
in class SimpleBeanObject
public 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 |