public interface GridBuilder extends Builder
Grid
Modifier and Type | Interface and Description |
---|---|
static class |
GridBuilder.LineStyleType
Specifies line style to be used for major and minor lines of the grid.
|
static class |
GridBuilder.LineWeightType
Specifies line weight to be used for major and minor lines of the grid.
|
Modifier and Type | Method and Description |
---|---|
void |
inheritSettings(Grid grid)
Inherits the settings from the specified grid.
|
NXColor |
lineColor()
Returns the line color
License requirements: None. |
double |
majorLineSpacing()
Returns the major line spacing
License requirements: None. |
GridBuilder.LineStyleType |
majorLineStyle()
Returns the major line style
License requirements: None. |
GridBuilder.LineWeightType |
majorLineWeight()
Returns the major line weight
License requirements: None. |
int |
minorLinesPerMajor()
Returns the minor lines per major
License requirements: None. |
GridBuilder.LineStyleType |
minorLineStyle()
Returns the minor line style
License requirements: None. |
GridBuilder.LineWeightType |
minorLineWeight()
Returns the minor line weight
License requirements: None. |
void |
setLineColor(NXColor lineColor)
License requirements: None. |
void |
setMajorLineSpacing(double majorLineSpacing)
License requirements: None. |
void |
setMajorLineStyle(GridBuilder.LineStyleType majorLineStyle)
License requirements: None. |
void |
setMajorLineWeight(GridBuilder.LineWeightType majorLineWeight)
License requirements: None. |
void |
setMinorLinesPerMajor(int minorLinesPerMajor)
License requirements: None. |
void |
setMinorLineStyle(GridBuilder.LineStyleType minorLineStyle)
License requirements: None. |
void |
setMinorLineWeight(GridBuilder.LineWeightType minorLineWeight)
License requirements: None. |
void |
setShow(boolean show)
License requirements: None. |
void |
setShowMajorLines(boolean showMajorLines)
License requirements: None. |
void |
setShowOnTop(boolean showOnTop)
License requirements: None. |
void |
setSnapPointsPerMinor(int snapPointsPerMinor)
License requirements: None. |
void |
setSnapToGrid(boolean snapToGrid)
License requirements: None. |
boolean |
show()
Returns the show
License requirements: None. |
boolean |
showMajorLines()
Returns the show major lines
License requirements: None. |
boolean |
showOnTop()
Returns the show on top
License requirements: None. |
int |
snapPointsPerMinor()
Returns the snap points per minor
License requirements: None. |
boolean |
snapToGrid()
Returns the snap to grid
License requirements: None. |
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
double majorLineSpacing() throws NXException, RemoteException
NXException
RemoteException
void setMajorLineSpacing(double majorLineSpacing) throws NXException, RemoteException
majorLineSpacing
- NXException
RemoteException
int minorLinesPerMajor() throws NXException, RemoteException
NXException
RemoteException
void setMinorLinesPerMajor(int minorLinesPerMajor) throws NXException, RemoteException
minorLinesPerMajor
- NXException
RemoteException
int snapPointsPerMinor() throws NXException, RemoteException
NXException
RemoteException
void setSnapPointsPerMinor(int snapPointsPerMinor) throws NXException, RemoteException
snapPointsPerMinor
- NXException
RemoteException
NXColor lineColor() throws NXException, RemoteException
NXException
RemoteException
void setLineColor(NXColor lineColor) throws NXException, RemoteException
lineColor
- NXException
RemoteException
GridBuilder.LineStyleType majorLineStyle() throws NXException, RemoteException
NXException
RemoteException
void setMajorLineStyle(GridBuilder.LineStyleType majorLineStyle) throws NXException, RemoteException
majorLineStyle
- NXException
RemoteException
GridBuilder.LineWeightType majorLineWeight() throws NXException, RemoteException
NXException
RemoteException
void setMajorLineWeight(GridBuilder.LineWeightType majorLineWeight) throws NXException, RemoteException
majorLineWeight
- NXException
RemoteException
GridBuilder.LineStyleType minorLineStyle() throws NXException, RemoteException
NXException
RemoteException
void setMinorLineStyle(GridBuilder.LineStyleType minorLineStyle) throws NXException, RemoteException
minorLineStyle
- NXException
RemoteException
GridBuilder.LineWeightType minorLineWeight() throws NXException, RemoteException
NXException
RemoteException
void setMinorLineWeight(GridBuilder.LineWeightType minorLineWeight) throws NXException, RemoteException
minorLineWeight
- NXException
RemoteException
boolean show() throws NXException, RemoteException
NXException
RemoteException
void setShow(boolean show) throws NXException, RemoteException
show
- NXException
RemoteException
boolean showOnTop() throws NXException, RemoteException
NXException
RemoteException
void setShowOnTop(boolean showOnTop) throws NXException, RemoteException
showOnTop
- NXException
RemoteException
boolean showMajorLines() throws NXException, RemoteException
NXException
RemoteException
void setShowMajorLines(boolean showMajorLines) throws NXException, RemoteException
showMajorLines
- NXException
RemoteException
boolean snapToGrid() throws NXException, RemoteException
NXException
RemoteException
void setSnapToGrid(boolean snapToGrid) throws NXException, RemoteException
snapToGrid
- NXException
RemoteException
void inheritSettings(Grid grid) throws NXException, RemoteException
Display.GridBuilder#majorLineSpacing
and Display.GridBuilder#setMajorLineSpacing
.
grid
- The grid. null is invalid.NXException
RemoteException
Copyright 2016 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.