|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.preferences.model.AbstractSubsystemPreferences
com.partnersoft.preferences.model.ControlPreferences
public class ControlPreferences
Preferences for map control behavior.
Copyright 2010 Partner Software, Inc.
| Constructor Summary | |
|---|---|
ControlPreferences(Cog state)
|
|
| Method Summary | |
|---|---|
int |
getDragThreshold()
This is the approximate number of pixels the mouse must move between between a button down and button up event to register as a drag instead of a click. |
int |
getSelectionRadius()
This is the approximate radius of the area around the mouse pointer used to determine which items are selected or indicated. |
boolean |
getViewDataOnFind()
If true, the map viewer will set the current tab to the view data tab after a find feature is activated. |
boolean |
getZoomOnFind()
If true, the map viewer will set the zoom to a high-detail level when the find feature is activated. |
void |
setDragThreshold(int dragThreshold)
|
void |
setSelectionRadius(int selectionRadius)
|
void |
setViewDataOnFind(boolean viewDataOnFind)
|
void |
setZoomOnFind(boolean zoomOnFind)
|
Cog |
toCog()
Returns the complete internal state of this object in the form of a Cog. |
| Methods inherited from class com.partnersoft.preferences.model.AbstractSubsystemPreferences |
|---|
getName, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ControlPreferences(Cog state)
| Method Detail |
|---|
public Cog toCog()
CoggableCog.
toCog in interface CoggabletoCog in class AbstractSubsystemPreferencespublic boolean getZoomOnFind()
public void setZoomOnFind(boolean zoomOnFind)
public boolean getViewDataOnFind()
public void setViewDataOnFind(boolean viewDataOnFind)
public int getSelectionRadius()
public void setSelectionRadius(int selectionRadius)
public int getDragThreshold()
public void setDragThreshold(int dragThreshold)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||