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 intgetAltNudgeDist()java.awt.ColorgetGridMajorColor()intgetGridMajorSpacing()java.awt.ColorgetGridMinorColor()intgetGridMinorSpacing()java.awt.ColorgetGuideColor()intgetNudgeDist()booleanisGridSnap()booleanisGridVisible()booleanisGuideSnap()booleanisGuidesVisible()voidpropertyChange(java.beans.PropertyChangeEvent evt)
-
-
-
Constructor Detail
-
GridSettings
public GridSettings(VisionDesignerInterface context)
-
-
Method Detail
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChangein interfacejava.beans.PropertyChangeListener
-
isGridSnap
public boolean isGridSnap()
- Specified by:
isGridSnapin interfaceIGridSettings
-
isGridVisible
public boolean isGridVisible()
- Specified by:
isGridVisiblein interfaceIGridSettings
-
isGuideSnap
public boolean isGuideSnap()
- Specified by:
isGuideSnapin interfaceIGridSettings
-
isGuidesVisible
public boolean isGuidesVisible()
- Specified by:
isGuidesVisiblein interfaceIGridSettings
-
getGridMinorSpacing
public int getGridMinorSpacing()
- Specified by:
getGridMinorSpacingin interfaceIGridSettings
-
getGridMajorSpacing
public int getGridMajorSpacing()
- Specified by:
getGridMajorSpacingin interfaceIGridSettings
-
getGridMajorColor
public java.awt.Color getGridMajorColor()
- Specified by:
getGridMajorColorin interfaceIGridSettings
-
getGridMinorColor
public java.awt.Color getGridMinorColor()
- Specified by:
getGridMinorColorin interfaceIGridSettings
-
getGuideColor
public java.awt.Color getGuideColor()
- Specified by:
getGuideColorin interfaceIGridSettings
-
getNudgeDist
public int getNudgeDist()
- Specified by:
getNudgeDistin interfaceIGridSettings
-
getAltNudgeDist
public int getAltNudgeDist()
- Specified by:
getAltNudgeDistin interfaceIGridSettings
-
-