public class SectorSelector extends WWObjectImpl implements SelectListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, RenderingListener
getSector()
.Modifier and Type | Class and Description |
---|---|
protected static class |
SectorSelector.RegionShape |
Modifier and Type | Field and Description |
---|---|
protected static int |
EAST |
protected static int |
MOVING |
protected static int |
NONE |
protected static int |
NORTH |
protected static int |
NORTHEAST |
protected static int |
NORTHWEST |
static java.lang.String |
SECTOR_PROPERTY |
protected static int |
SIZING |
protected static int |
SOUTH |
protected static int |
SOUTHEAST |
protected static int |
SOUTHWEST |
protected static int |
WEST |
Modifier | Constructor and Description |
---|---|
|
SectorSelector(WorldWindow worldWindow) |
protected |
SectorSelector(WorldWindow worldWindow,
SectorSelector.RegionShape shape,
RenderableLayer rLayer) |
Modifier and Type | Method and Description |
---|---|
protected int |
determineAdjustmentSide(Movable dragObject,
double factor) |
void |
disable() |
protected void |
dragWholeShape(DragSelectEvent dragEvent,
Movable dragObject) |
void |
enable() |
java.awt.Color |
getBorderColor() |
double |
getBorderOpacity() |
double |
getBorderWidth() |
protected double |
getEdgeFactor() |
java.awt.Color |
getInteriorColor() |
double |
getInteriorOpacity() |
Layer |
getLayer() |
protected int |
getOperation() |
protected Position |
getPreviousPosition() |
Sector |
getSector() |
protected SectorSelector.RegionShape |
getShape() |
protected int |
getSide() |
WorldWindow |
getWwd() |
protected boolean |
isArmed() |
void |
mouseClicked(java.awt.event.MouseEvent e) |
void |
mouseDragged(java.awt.event.MouseEvent mouseEvent) |
void |
mouseEntered(java.awt.event.MouseEvent e) |
void |
mouseExited(java.awt.event.MouseEvent e) |
void |
mouseMoved(java.awt.event.MouseEvent e) |
void |
mousePressed(java.awt.event.MouseEvent mouseEvent) |
void |
mouseReleased(java.awt.event.MouseEvent mouseEvent) |
protected void |
notifySectorChanged() |
protected Sector |
resizeShape(Movable dragObject,
int side) |
void |
selected(SelectEvent event) |
protected void |
setArmed(boolean armed) |
void |
setBorderColor(java.awt.Color color) |
void |
setBorderOpacity(double opacity) |
void |
setBorderWidth(double width) |
protected void |
setCursor(java.awt.Cursor cursor) |
protected void |
setCursor(int sideName) |
protected void |
setEdgeFactor(double edgeFactor) |
void |
setInteriorColor(java.awt.Color color) |
void |
setInteriorOpacity(double opacity) |
protected void |
setOperation(int operation) |
protected void |
setPreviousPosition(Position previousPosition) |
protected void |
setSide(int side) |
void |
stageChanged(RenderingEvent event) |
onMessage, propertyChange
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
protected static final int EAST
protected static final int MOVING
protected static final int NONE
protected static final int NORTH
protected static final int NORTHEAST
protected static final int NORTHWEST
public static final java.lang.String SECTOR_PROPERTY
protected static final int SIZING
protected static final int SOUTH
protected static final int SOUTHEAST
protected static final int SOUTHWEST
protected static final int WEST
public SectorSelector(WorldWindow worldWindow)
protected SectorSelector(WorldWindow worldWindow, SectorSelector.RegionShape shape, RenderableLayer rLayer)
protected int determineAdjustmentSide(Movable dragObject, double factor)
public void disable()
protected void dragWholeShape(DragSelectEvent dragEvent, Movable dragObject)
public void enable()
public java.awt.Color getBorderColor()
public double getBorderOpacity()
public double getBorderWidth()
protected double getEdgeFactor()
public java.awt.Color getInteriorColor()
public double getInteriorOpacity()
public Layer getLayer()
protected int getOperation()
protected Position getPreviousPosition()
public Sector getSector()
protected SectorSelector.RegionShape getShape()
protected int getSide()
public WorldWindow getWwd()
protected boolean isArmed()
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
public void mouseDragged(java.awt.event.MouseEvent mouseEvent)
mouseDragged
in interface java.awt.event.MouseMotionListener
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener
public void mousePressed(java.awt.event.MouseEvent mouseEvent)
mousePressed
in interface java.awt.event.MouseListener
public void mouseReleased(java.awt.event.MouseEvent mouseEvent)
mouseReleased
in interface java.awt.event.MouseListener
protected void notifySectorChanged()
public void selected(SelectEvent event)
selected
in interface SelectListener
protected void setArmed(boolean armed)
public void setBorderColor(java.awt.Color color)
public void setBorderOpacity(double opacity)
public void setBorderWidth(double width)
protected void setCursor(java.awt.Cursor cursor)
protected void setCursor(int sideName)
protected void setEdgeFactor(double edgeFactor)
public void setInteriorColor(java.awt.Color color)
public void setInteriorOpacity(double opacity)
protected void setOperation(int operation)
protected void setPreviousPosition(Position previousPosition)
protected void setSide(int side)
public void stageChanged(RenderingEvent event)
stageChanged
in interface RenderingListener