synergynetframework.config.position
Class PositionConfigPrefsItem

java.lang.Object
  extended by synergynetframework.config.position.PositionConfigPrefsItem
All Implemented Interfaces:
PreferencesItem

public class PositionConfigPrefsItem
extends java.lang.Object
implements PreferencesItem

The Class PositionConfigPrefsItem.


Field Summary
static java.lang.String CURRENT_CONNECTIONS
          The Constant CURRENT_CONNECTIONS.
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_WIDTH
          The Constant TABLE_WIDTH.
 
Constructor Summary
PositionConfigPrefsItem()
           
 
Method Summary
 float getAngle()
          Gets the angle.
 javax.swing.JPanel getConfigurationPanel()
          Gets the configuration panel.
 boolean getDeveloperMode()
          Gets the developer mode.
 int getGridDistanceX()
          Gets the grid distance x.
 int 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.
 java.lang.String getName()
          Gets the name.
 int getXPos()
          Gets the x pos.
 int 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 setXDistance(int xDis)
          Sets the x distance.
 void setXLimit(int xLimit)
          Sets the x limit.
 void setXPos(int xPos)
          Sets the x pos.
 void setYDistance(int yDis)
          Sets the y distance.
 void setYLimit(int yLimit)
          Sets the y limit.
 void setYPos(int yPos)
          Sets the y pos.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CURRENT_CONNECTIONS

public static final java.lang.String CURRENT_CONNECTIONS
The Constant CURRENT_CONNECTIONS.

See Also:
Constant Field Values

GRID_DISTANCE_X

public static final java.lang.String GRID_DISTANCE_X
The Constant GRID_DISTANCE_X.

See Also:
Constant Field Values

GRID_DISTANCE_Y

public static final java.lang.String GRID_DISTANCE_Y
The Constant GRID_DISTANCE_Y.

See Also:
Constant Field Values

GRID_LIMIT_X

public static final java.lang.String GRID_LIMIT_X
The Constant GRID_LIMIT_X.

See Also:
Constant Field Values

GRID_LIMIT_Y

public static final java.lang.String GRID_LIMIT_Y
The Constant GRID_LIMIT_Y.

See Also:
Constant Field Values

HORIZONTAL_PLACEMENT

public static final java.lang.String HORIZONTAL_PLACEMENT
The Constant HORIZONTAL_PLACEMENT.

See Also:
Constant Field Values

PREFS_ANGLE

public static final java.lang.String PREFS_ANGLE
The Constant PREFS_ANGLE.

See Also:
Constant Field Values

PREFS_LOCATION_X

public static final java.lang.String PREFS_LOCATION_X
The Constant PREFS_LOCATION_X.

See Also:
Constant Field Values

PREFS_LOCATION_Y

public static final java.lang.String PREFS_LOCATION_Y
The Constant PREFS_LOCATION_Y.

See Also:
Constant Field Values

PREFS_POS_DEVELOPER_MODE

public static final java.lang.String PREFS_POS_DEVELOPER_MODE
The Constant PREFS_POS_DEVELOPER_MODE.

See Also:
Constant Field Values

REFERENCE_DISTANCE

public static final java.lang.String REFERENCE_DISTANCE
The Constant REFERENCE_DISTANCE.

See Also:
Constant Field Values

TABLE_WIDTH

public static final java.lang.String TABLE_WIDTH
The Constant TABLE_WIDTH.

See Also:
Constant Field Values
Constructor Detail

PositionConfigPrefsItem

public PositionConfigPrefsItem()
Method Detail

getAngle

public float getAngle()
Gets the angle.

Returns:
the angle

getConfigurationPanel

public javax.swing.JPanel getConfigurationPanel()
Description copied from interface: PreferencesItem
Gets the configuration panel.

Specified by:
getConfigurationPanel in interface PreferencesItem
Returns:
the configuration panel

getDeveloperMode

public boolean getDeveloperMode()
Gets the developer mode.

Returns:
the developer mode

getGridDistanceX

public int getGridDistanceX()
Gets the grid distance x.

Returns:
the grid distance x

getGridDistanceY

public int getGridDistanceY()
Gets the grid distance y.

Returns:
the grid distance y

getGridLimitX

public int getGridLimitX()
Gets the grid limit x.

Returns:
the grid limit x

getGridLimitY

public int getGridLimitY()
Gets the grid limit y.

Returns:
the grid limit y

getHorizontalPlacement

public boolean getHorizontalPlacement()
Gets the horizontal placement.

Returns:
the horizontal placement

getName

public java.lang.String getName()
Description copied from interface: PreferencesItem
Gets the name.

Specified by:
getName in interface PreferencesItem
Returns:
the name

getXPos

public int getXPos()
Gets the x pos.

Returns:
the x pos

getYPos

public int getYPos()
Gets the y pos.

Returns:
the y pos

setAngle

public void setAngle(float angle)
Sets the angle.

Parameters:
angle - the new angle

setDeveloperMode

public void setDeveloperMode(boolean selected)
Sets the developer mode.

Parameters:
selected - the new developer mode

setHorizontalPlacement

public void setHorizontalPlacement(boolean selected)
Sets the horizontal placement.

Parameters:
selected - the new horizontal placement

setXDistance

public void setXDistance(int xDis)
Sets the x distance.

Parameters:
xDis - the new x distance

setXLimit

public void setXLimit(int xLimit)
Sets the x limit.

Parameters:
xLimit - the new x limit

setXPos

public void setXPos(int xPos)
Sets the x pos.

Parameters:
xPos - the new x pos

setYDistance

public void setYDistance(int yDis)
Sets the y distance.

Parameters:
yDis - the new y distance

setYLimit

public void setYLimit(int yLimit)
Sets the y limit.

Parameters:
yLimit - the new y limit

setYPos

public void setYPos(int yPos)
Sets the y pos.

Parameters:
yPos - the new y pos