|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Behavior | |
|---|---|
| org.gvsig.fmap.mapcontrol | |
| org.gvsig.fmap.mapcontrol.tools | |
| org.gvsig.fmap.mapcontrol.tools.Behavior | |
| Uses of Behavior in org.gvsig.fmap.mapcontrol |
|---|
| Fields in org.gvsig.fmap.mapcontrol declared as Behavior | |
|---|---|
protected Behavior |
MapControl.currentMapTool
Active Behavior that will generate events according a
criterion, and then, with a ToolListener associated,
will simulate to user that works with this component as a particular
tool. |
| Methods in org.gvsig.fmap.mapcontrol that return Behavior | |
|---|---|
Behavior |
MapControl.getCombinedTool()
Gets the tool used in combination with the current tool of this MapControl. |
Behavior |
MapControl.getCurrentMapTool()
Gets as current active Behavior associated to this
component, that one which is registered and identified by
toolName. |
Behavior |
MapControl.getMapTool(String name)
Gets the Behavior registered in this component, identified
by name. |
| Methods in org.gvsig.fmap.mapcontrol with parameters of type Behavior | |
|---|---|
void |
MapControl.addBehavior(String name,
Behavior tool)
Registers a new behavior to this component. |
void |
MapControl.addBehavior(String name,
Behavior[] tools)
Registers a new behavior to this component as a CompoundBehavior made up of tools. |
void |
MapControl.addCombinedBehavior(Behavior tool)
Adds a new tool as combined tool. |
void |
MapControl.removeCombinedTool(Behavior tool)
Removes the tool tool used in combination with the current
tool of this MapControl. |
void |
MapControl.setCombinedTool(Behavior combinedTool)
Sets a tool to be used in combination with the current tool of this MapControl. |
void |
MapControl.setCurrentMapTool(Behavior mapTool)
Sets mapTool as this MapControl's current map
tool. |
| Uses of Behavior in org.gvsig.fmap.mapcontrol.tools |
|---|
| Subclasses of Behavior in org.gvsig.fmap.mapcontrol.tools | |
|---|---|
class |
CompoundBehavior
Allows having multiple behaviors when user works with the associated MapControl. |
| Methods in org.gvsig.fmap.mapcontrol.tools that return Behavior | |
|---|---|
static Behavior |
CompoundBehavior.getAllControlsBehavior()
Gets the Behavior that will be used for any MapControl. |
Behavior |
CompoundBehavior.getBehavior(int index)
Returns the first-level Behavior at the specified position. |
| Methods in org.gvsig.fmap.mapcontrol.tools with parameters of type Behavior | |
|---|---|
void |
CompoundBehavior.addMapBehavior(Behavior mt,
boolean draw)
Adds a new behavior, setting if will be real-time (when user is working with it) drawn or not. |
boolean |
CompoundBehavior.containsBehavior(Behavior mt)
Searches for mt, returning true if is contained. |
void |
CompoundBehavior.removeMapBehavior(Behavior mt)
Removes a Behavior that composes this one. |
static void |
CompoundBehavior.setAllControlsBehavior(Behavior behavior)
Sets the Behavior that will be used for any MapControl. |
| Constructors in org.gvsig.fmap.mapcontrol.tools with parameters of type Behavior | |
|---|---|
CompoundBehavior(Behavior[] behaviors)
Creates a new behavior as a composition of others. |
|
| Uses of Behavior in org.gvsig.fmap.mapcontrol.tools.Behavior |
|---|
| Subclasses of Behavior in org.gvsig.fmap.mapcontrol.tools.Behavior | |
|---|---|
class |
CircleBehavior
Behavior that allows user to draw a circle on the image of the associated MapControl using a PolylineListener. |
class |
DraggerBehavior
Behavior that permits user to drag the image of the associated MapControl using a PanListener. |
class |
MouseMovementBehavior
Behavior that permits user to move and drag the mouse on the image of the associated MapControl instance using a PointListener. |
class |
MouseWheelBehavior
|
class |
MoveBehavior
Behavior that permits user to move the image of the associated MapControl using a PanListener. |
class |
PointBehavior
Behavior that permits user to select a point with a double click mouse action, on the associated MapControl using a PointListener. |
class |
PolygonBehavior
Behavior that permits user to draw a polygon by its vertexes on the image of the associated MapControl using a PolylineListener. |
class |
PolylineBehavior
Behavior that allows user to draw a polyline by its vertexes on the image of the associated MapControl using a PolylineListener. |
class |
RectangleBehavior
Behavior that permits user to select a rectangular area on the associated MapControl using
a RectangleListener. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||