public class PositionConfigPrefsItem extends java.lang.Object implements PreferencesItem
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GRID_DISTANCE_X
The Constant GRID_DISTANCE_X.
|
static java.lang.String |
GRID_DISTANCE_Y
The Constant GRID_DISTANCE_Y.
|
static java.lang.String |
GRID_LIMIT_X
The Constant GRID_LIMIT_X.
|
static java.lang.String |
GRID_LIMIT_Y
The Constant GRID_LIMIT_Y.
|
static java.lang.String |
HORIZONTAL_PLACEMENT
The Constant HORIZONTAL_PLACEMENT.
|
static java.lang.String |
PREFS_ANGLE
The Constant PREFS_ANGLE.
|
static java.lang.String |
PREFS_LOCATION_X
The Constant PREFS_LOCATION_X.
|
static java.lang.String |
PREFS_LOCATION_Y
The Constant PREFS_LOCATION_Y.
|
static java.lang.String |
PREFS_POS_DEVELOPER_MODE
The Constant PREFS_POS_DEVELOPER_MODE.
|
static java.lang.String |
REFERENCE_DISTANCE
The Constant REFERENCE_DISTANCE.
|
static java.lang.String |
TABLE_HEIGHT
The Constant TABLE_HEIGHT.
|
Constructor and Description |
---|
PositionConfigPrefsItem() |
Modifier and Type | Method and Description |
---|---|
float |
getAngle()
Gets the angle.
|
javax.swing.JPanel |
getConfigurationPanel()
Gets the configuration panel.
|
java.lang.String |
getConfigurationPanelName()
Gets the configuration panel name.
|
boolean |
getDeveloperMode()
Gets the developer mode.
|
float |
getGridDistanceX()
Gets the grid distance x.
|
float |
getGridDistanceY()
Gets the grid distance y.
|
int |
getGridLimitX()
Gets the grid limit x.
|
int |
getGridLimitY()
Gets the grid limit y.
|
boolean |
getHorizontalPlacement()
Gets the horizontal placement.
|
float |
getTableHeight()
Gets the table height.
|
float |
getXPos()
Gets the x pos.
|
float |
getYPos()
Gets the y pos.
|
void |
setAngle(float angle)
Sets the angle.
|
void |
setDeveloperMode(boolean selected)
Sets the developer mode.
|
void |
setHorizontalPlacement(boolean selected)
Sets the horizontal placement.
|
void |
setTableHeight(float height)
Sets the table height.
|
void |
setXDistance(float xDis)
Sets the x distance.
|
void |
setXLimit(int xLimit)
Sets the x limit.
|
void |
setXPos(float xPos)
Sets the x pos.
|
void |
setYDistance(float yDis)
Sets the y distance.
|
void |
setYLimit(int yLimit)
Sets the y limit.
|
void |
setYPos(float yPos)
Sets the y pos.
|
public static final java.lang.String GRID_DISTANCE_X
public static final java.lang.String GRID_DISTANCE_Y
public static final java.lang.String GRID_LIMIT_X
public static final java.lang.String GRID_LIMIT_Y
public static final java.lang.String HORIZONTAL_PLACEMENT
public static final java.lang.String PREFS_ANGLE
public static final java.lang.String PREFS_LOCATION_X
public static final java.lang.String PREFS_LOCATION_Y
public static final java.lang.String PREFS_POS_DEVELOPER_MODE
public static final java.lang.String REFERENCE_DISTANCE
public static final java.lang.String TABLE_HEIGHT
public float getAngle()
public javax.swing.JPanel getConfigurationPanel()
PreferencesItem
getConfigurationPanel
in interface PreferencesItem
public java.lang.String getConfigurationPanelName()
PreferencesItem
getConfigurationPanelName
in interface PreferencesItem
public boolean getDeveloperMode()
public float getGridDistanceX()
public float getGridDistanceY()
public int getGridLimitX()
public int getGridLimitY()
public boolean getHorizontalPlacement()
public float getTableHeight()
public float getXPos()
public float getYPos()
public void setAngle(float angle)
angle
- the new anglepublic void setDeveloperMode(boolean selected)
selected
- the new developer modepublic void setHorizontalPlacement(boolean selected)
selected
- the new horizontal placementpublic void setTableHeight(float height)
height
- the new table heightpublic void setXDistance(float xDis)
xDis
- the new x distancepublic void setXLimit(int xLimit)
xLimit
- the new x limitpublic void setXPos(float xPos)
xPos
- the new x pospublic void setYDistance(float yDis)
yDis
- the new y distancepublic void setYLimit(int yLimit)
yLimit
- the new y limitpublic void setYPos(float yPos)
yPos
- the new y pos