com.partnersoft.maps.app
Class WheelMenu
java.lang.Object
com.partnersoft.maps.app.WheelMenu
public class WheelMenu
- extends java.lang.Object
A wheel-shaped context menu for choosing actions to take on a map selection.
- Author:
- Paul Reavis
Copyright 2005 Partner Software, Inc.
|
Method Summary |
int |
detectHit(MapViewFrame frame,
int pixelX,
int pixelY)
|
int |
getIndicatedButton()
|
boolean |
isVisible()
|
void |
paintCenter(EZ2DGL ezgl,
MapViewFrame frame)
|
void |
paintCenter(java.awt.Graphics2D graphics,
MapViewFrame frame)
|
void |
paintWheel(EZ2DGL ezgl,
MapViewFrame frame)
|
void |
paintWheel(java.awt.Graphics2D graphics,
MapViewFrame frame)
|
void |
setCenter(double centerX,
double centerY)
|
void |
setIndicatedButton(int whichun)
|
void |
setState(boolean visible,
int indicatedButton,
double centerX,
double centerY)
|
void |
setVisible(boolean tizit)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NONE
public static final int NONE
- See Also:
- Constant Field Values
CENTER
public static final int CENTER
- See Also:
- Constant Field Values
ADD
public static final int ADD
- See Also:
- Constant Field Values
DELETE
public static final int DELETE
- See Also:
- Constant Field Values
MOVE
public static final int MOVE
- See Also:
- Constant Field Values
ROTATE
public static final int ROTATE
- See Also:
- Constant Field Values
COPY
public static final int COPY
- See Also:
- Constant Field Values
offset
public static final int offset
- See Also:
- Constant Field Values
WheelMenu
public WheelMenu()
setVisible
public void setVisible(boolean tizit)
isVisible
public boolean isVisible()
getIndicatedButton
public int getIndicatedButton()
setIndicatedButton
public void setIndicatedButton(int whichun)
setCenter
public void setCenter(double centerX,
double centerY)
setState
public void setState(boolean visible,
int indicatedButton,
double centerX,
double centerY)
detectHit
public int detectHit(MapViewFrame frame,
int pixelX,
int pixelY)
paintCenter
public void paintCenter(java.awt.Graphics2D graphics,
MapViewFrame frame)
paintWheel
public void paintWheel(java.awt.Graphics2D graphics,
MapViewFrame frame)
paintCenter
public void paintCenter(EZ2DGL ezgl,
MapViewFrame frame)
paintWheel
public void paintWheel(EZ2DGL ezgl,
MapViewFrame frame)