public class SectorSelector extends WWObjectImpl implements SelectListener, MouseListener, 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 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() |
Color |
getBorderColor() |
double |
getBorderOpacity() |
double |
getBorderWidth() |
protected double |
getEdgeFactor() |
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(MouseEvent e) |
void |
mouseDragged(MouseEvent mouseEvent) |
void |
mouseEntered(MouseEvent e) |
void |
mouseExited(MouseEvent e) |
void |
mouseMoved(MouseEvent e) |
void |
mousePressed(MouseEvent mouseEvent) |
void |
mouseReleased(MouseEvent mouseEvent) |
protected void |
notifySectorChanged() |
protected Sector |
resizeShape(Movable dragObject,
int side) |
void |
selected(SelectEvent event) |
protected void |
setArmed(boolean armed) |
void |
setBorderColor(Color color) |
void |
setBorderOpacity(double opacity) |
void |
setBorderWidth(double width) |
protected void |
setCursor(Cursor cursor) |
protected void |
setCursor(int sideName) |
protected void |
setEdgeFactor(double edgeFactor) |
void |
setInteriorColor(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 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 Color getBorderColor()
public double getBorderOpacity()
public double getBorderWidth()
protected double getEdgeFactor()
public 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(MouseEvent e)
mouseClicked
in interface MouseListener
public void mouseDragged(MouseEvent mouseEvent)
mouseDragged
in interface MouseMotionListener
public void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
public void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
public void mouseMoved(MouseEvent e)
mouseMoved
in interface MouseMotionListener
public void mousePressed(MouseEvent mouseEvent)
mousePressed
in interface MouseListener
public void mouseReleased(MouseEvent mouseEvent)
mouseReleased
in interface MouseListener
protected void notifySectorChanged()
public void selected(SelectEvent event)
selected
in interface SelectListener
protected void setArmed(boolean armed)
public void setBorderColor(Color color)
public void setBorderOpacity(double opacity)
public void setBorderWidth(double width)
protected void setCursor(Cursor cursor)
protected void setCursor(int sideName)
protected void setEdgeFactor(double edgeFactor)
public void setInteriorColor(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