|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject com.bbn.openmap.event.InfoDisplayEvent
public class InfoDisplayEvent
An event to request that information be displayed.
Field Summary | |
---|---|
protected java.lang.String |
information
The requester may send information along with the event if the event represents an information display request from the layer, this variable contains the information needed to process the event. |
protected int |
preferredLocation
A preferred location index for which info line, if there is more than one, should display the requested information. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
InfoDisplayEvent(java.lang.Object source)
Construct an InfoDisplayEvent. |
|
InfoDisplayEvent(java.lang.Object source,
java.lang.String info)
Construct an InfoDisplayEvent. |
|
InfoDisplayEvent(java.lang.Object source,
java.lang.String info,
int loc)
Construct an InfoDisplayEvent. |
Method Summary | |
---|---|
java.lang.String |
getInformation()
Get the information. |
Layer |
getLayer()
Get the associated Layer or null. |
int |
getPreferredLocation()
Get the preferred location index where the information should be displayed. |
void |
setInformation(java.lang.String info)
Set the information. |
void |
setPreferredLocation(int pl)
Set the preferred location index where the information should be displayed. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String information
protected int preferredLocation
Constructor Detail |
---|
public InfoDisplayEvent(java.lang.Object source)
source
- Objectpublic InfoDisplayEvent(java.lang.Object source, java.lang.String info)
source
- Objectinfo
- String informationpublic InfoDisplayEvent(java.lang.Object source, java.lang.String info, int loc)
source
- Objectinfo
- String informationloc
- the location index for which info line should
display the information.Method Detail |
---|
public Layer getLayer()
public java.lang.String getInformation()
public void setInformation(java.lang.String info)
info
- Stringpublic int getPreferredLocation()
public void setPreferredLocation(int pl)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |