|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.concurrent.CopyOnWriteArrayList<E>
com.bbn.openmap.event.ListenerSupport<PanListener>
com.bbn.openmap.event.PanSupport
public class PanSupport
This is a utility class that can be used by beans that need support for handling PanListeners and firing PanEvents. You can use an instance of this class as a member field of your bean and delegate work to it.
| Field Summary |
|---|
| Fields inherited from class com.bbn.openmap.event.ListenerSupport |
|---|
source |
| Constructor Summary | |
|---|---|
PanSupport(java.lang.Object sourceBean)
Construct a PanSupport. |
|
| Method Summary | |
|---|---|
void |
firePan(float Az)
|
void |
firePan(float az,
float c)
Fire a pan event. |
void |
firePan(int direction)
Deprecated. use firePan(azimuth) |
void |
firePan(int direction,
float amount)
Deprecated. use firePan(azimuth, arc) |
| Methods inherited from class com.bbn.openmap.event.ListenerSupport |
|---|
add, add, addAll, clear, getSource, iterator, listIterator, remove, remove, set, setSource, size |
| Methods inherited from class java.util.concurrent.CopyOnWriteArrayList |
|---|
addAll, addAllAbsent, addIfAbsent, clone, contains, containsAll, equals, get, hashCode, indexOf, indexOf, isEmpty, lastIndexOf, lastIndexOf, listIterator, removeAll, retainAll, subList, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PanSupport(java.lang.Object sourceBean)
sourceBean - The bean to be given as the source for any
events.| Method Detail |
|---|
public void firePan(int direction)
direction - PanEvent.NORTH ... PanEvent.NORTH_WESTPanEvent
public void firePan(int direction,
float amount)
direction - PanEvent.NORTH ... PanEvent.NORTH_WESTamount - (0.0 <= amount) in decimal degrees.PanEventpublic void firePan(float Az)
public void firePan(float az,
float c)
az - azimuth "east of north" in decimal degrees:
-180 <= Az <= 180c - arc distance in decimal degrees.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||