Class GridSettings
- java.lang.Object
-
- com.inductiveautomation.factorypmi.designer.workspace.GridSettings
-
- All Implemented Interfaces:
IGridSettings
,java.beans.PropertyChangeListener
,java.util.EventListener
public class GridSettings extends java.lang.Object implements IGridSettings, java.beans.PropertyChangeListener
-
-
Constructor Summary
Constructors Constructor Description GridSettings(VisionDesignerInterface context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAltNudgeDist()
java.awt.Color
getGridMajorColor()
int
getGridMajorSpacing()
java.awt.Color
getGridMinorColor()
int
getGridMinorSpacing()
java.awt.Color
getGuideColor()
int
getNudgeDist()
boolean
isGridSnap()
boolean
isGridVisible()
boolean
isGuideSnap()
boolean
isGuidesVisible()
void
propertyChange(java.beans.PropertyChangeEvent evt)
-
-
-
Constructor Detail
-
GridSettings
public GridSettings(VisionDesignerInterface context)
-
-
Method Detail
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChange
in interfacejava.beans.PropertyChangeListener
-
isGridSnap
public boolean isGridSnap()
- Specified by:
isGridSnap
in interfaceIGridSettings
-
isGridVisible
public boolean isGridVisible()
- Specified by:
isGridVisible
in interfaceIGridSettings
-
isGuideSnap
public boolean isGuideSnap()
- Specified by:
isGuideSnap
in interfaceIGridSettings
-
isGuidesVisible
public boolean isGuidesVisible()
- Specified by:
isGuidesVisible
in interfaceIGridSettings
-
getGridMinorSpacing
public int getGridMinorSpacing()
- Specified by:
getGridMinorSpacing
in interfaceIGridSettings
-
getGridMajorSpacing
public int getGridMajorSpacing()
- Specified by:
getGridMajorSpacing
in interfaceIGridSettings
-
getGridMajorColor
public java.awt.Color getGridMajorColor()
- Specified by:
getGridMajorColor
in interfaceIGridSettings
-
getGridMinorColor
public java.awt.Color getGridMinorColor()
- Specified by:
getGridMinorColor
in interfaceIGridSettings
-
getGuideColor
public java.awt.Color getGuideColor()
- Specified by:
getGuideColor
in interfaceIGridSettings
-
getNudgeDist
public int getNudgeDist()
- Specified by:
getNudgeDist
in interfaceIGridSettings
-
getAltNudgeDist
public int getAltNudgeDist()
- Specified by:
getAltNudgeDist
in interfaceIGridSettings
-
-