public class PanSupport extends ListenerSupport<PanListener>
source
Constructor and Description |
---|
PanSupport(java.lang.Object sourceBean)
Construct a PanSupport.
|
Modifier and Type | Method and Description |
---|---|
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)
|
add, add, addAll, clear, getSource, iterator, listIterator, remove, remove, set, setSource, size
public PanSupport(java.lang.Object sourceBean)
sourceBean
- The bean to be given as the source for any
events.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.PanEvent
public void firePan(float Az)
public void firePan(float az, float c)
az
- azimuth "east of north" in decimal degrees:
-180 <= Az <= 180
c
- arc distance in decimal degrees.Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details