CadViewport
Inheritance: java.lang.Object, CadBaseEntity
The Cad view port.
Constructors
| Constructor | Description |
|---|---|
| CadViewport() | Initializes a new instance of the CadViewport class. |
Methods
| Method | Description |
|---|---|
| getTypeName() | Gets the name of the type. |
| getAmbientElement1() | Gets or sets the ambient element 1. |
| setAmbientElement1(Short value) | Gets or sets the ambient element 1. |
| getAmbientElement2() | Gets or sets the ambient element 2. |
| setAmbientElement2(Integer value) | Gets or sets the ambient element 2. |
| getAmbientElement3() | Gets or sets the ambient element 3. |
| setAmbientElement3(String value) | Gets or sets the ambient element 3. |
| getAxisXOfUcs() | Gets or sets the axis x of UCS. |
| setAxisXOfUcs(Cad3DPoint value) | Gets or sets the axis x of UCS. |
| getAxisYOfUcs() | Gets or sets the axis y of UCS. |
| setAxisYOfUcs(Cad3DPoint value) | Gets or sets the axis y of UCS. |
| getBackClipZValue() | Gets or sets the back clip z value. |
| setBackClipZValue(double value) | Gets or sets the back clip z value. |
| getBackgroundHandle() | Gets or sets the background handle. |
| setBackgroundHandle(String value) | Gets or sets the background handle. |
| getCenterPoint() | Gets or sets the center point. |
| setCenterPoint(Cad3DPoint value) | Gets or sets the center point. |
| getCircleZoomPresent() | Gets or sets the circle zoom present. |
| setCircleZoomPresent(short value) | Gets or sets the circle zoom present. |
| getDefaultLigtingFlag() | Gets or sets a value indicating whether default ligting flag. |
| setDefaultLigtingFlag(Boolean value) | Gets or sets a value indicating whether default ligting flag. |
| getDefaultLigtingType() | Gets or sets the default ligting type. |
| setDefaultLigtingType(Short value) | Gets or sets the default ligting type. |
| getDisplayUcs() | Gets or sets the display UCS. |
| setDisplayUcs(short value) | Gets or sets the display UCS. |
| getElevation() | Gets or sets the elevation. |
| setElevation(double value) | Gets or sets the elevation. |
| getFrontClipZValue() | Gets or sets the front clip z value. |
| setFrontClipZValue(double value) | Gets or sets the front clip z value. |
| getFrozenLayerObjectIdList() | Gets or sets the frozen layer object identifier list. |
| setFrozenLayerObjectIdList(List | Gets or sets the frozen layer object identifier list. |
| getGridFrequency() | Gets or sets the grid frequency. |
| setGridFrequency(Short value) | Gets or sets the grid frequency. |
| getGridSpacing() | Gets or sets the grid spacing. |
| setGridSpacing(Cad2DPoint value) | Gets or sets the grid spacing. |
| getHeight() | Gets or sets the height. |
| setHeight(double value) | Gets or sets the height. |
| getOriginUcs() | Gets or sets the origin UCS. |
| setOriginUcs(Cad3DPoint value) | Gets or sets the origin UCS. |
| getOrthographic() | Gets or sets the orthographic. |
| setOrthographic(short value) | Gets or sets the orthographic. |
| getPerspectiveLensLength() | Gets or sets the perspective lens length. |
| setPerspectiveLensLength(double value) | Gets or sets the perspective lens length. |
| getPlotStyleSheetName() | Gets or sets the plot style sheet name. |
| setPlotStyleSheetName(String value) | Gets or sets the plot style sheet name. |
| getReferenceToTableRecord() | Gets or sets the reference to table record. |
| setReferenceToTableRecord(String value) | Gets or sets the reference to table record. |
| getReferenceToTableRecordOrthoGraphic() | Gets or sets the reference to table record ortho graphic. |
| setReferenceToTableRecordOrthoGraphic(String value) | Gets or sets the reference to table record ortho graphic. |
| getRenderMode() | Gets or sets the render mode. |
| setRenderMode(short value) | Gets or sets the render mode. |
| getShadeHandle() | Gets or sets the shade handle. |
| setShadeHandle(String value) | Gets or sets the shade handle. |
| getShadePlotMode() | Gets or sets the shade plot mode. |
| setShadePlotMode(short value) | Gets or sets the shade plot mode. |
| getSnapAngle() | Gets or sets the snap angle. |
| setSnapAngle(double value) | Gets or sets the snap angle. |
| getSnapBasePoint() | Gets or sets the snap base point. |
| setSnapBasePoint(Cad2DPoint value) | Gets or sets the snap base point. |
| getSnapSpacing() | Gets or sets the snap spacing. |
| setSnapSpacing(Cad2DPoint value) | Gets or sets the snap spacing. |
| getStatus() | Gets or sets the status. (DXF 68 status) |
| setStatus(short value) | Gets or sets the status. (DXF 68 status) |
| getSunHandle() | Gets or sets the sun handle. |
| setSunHandle(String value) | Gets or sets the sun handle. |
| getTwistAngle() | Gets or sets the twist angle. |
| setTwistAngle(double value) | Gets or sets the twist angle. |
| getUcsPerViewPort() | Gets or sets the UCS per view port. |
| setUcsPerViewPort(short value) | Gets or sets the UCS per view port. |
| getViewHeight() | Gets or sets the view height. |
| setViewHeight(double value) | Gets or sets the view height. |
| getViewBrigtness() | Gets or sets the view brigtness. |
| setViewBrigtness(Double value) | Gets or sets the view brigtness. |
| getViewCenterPoint() | Gets or sets the view center point. |
| setViewCenterPoint(Cad2DPoint value) | Gets or sets the view center point. |
| getViewContrast() | Gets or sets the view contrast. |
| setViewContrast(Double value) | Gets or sets the view contrast. |
| getViewDirectionVector() | Gets or sets the view direction vector. |
| setViewDirectionVector(Cad3DPoint value) | Gets or sets the view direction vector. |
| getViewPointRef1() | Gets or sets the view point ref 1. |
| setViewPointRef1(String value) | Gets or sets the view point ref 1. |
| getViewPointRef2() | Gets or sets the view point ref 2. |
| setViewPointRef2(String value) | Gets or sets the view point ref 2. |
| getViewPointRef3() | Gets or sets the view point ref 3. |
| setViewPointRef3(String value) | Gets or sets the view point ref 3. |
| getViewPointRef4() | Gets or sets the view point ref 4. |
| setViewPointRef4(Integer value) | Gets or sets the view point ref 4. |
| getViewPortId() | Gets or sets the view port id. |
| setViewPortId(short value) | Gets or sets the view port id. |
| getViewPortStatus() | Gets or sets the view port status. (DXF 90) |
| setViewPortStatus(int value) | Gets or sets the view port status. (DXF 90) |
| hasNewStatus() | Wether entity has new viewport status field (DXF 90) |
| setNewStatus(boolean value) | Wether entity has new viewport status field (DXF 90) |
| getViewTargetVector() | Gets or sets the view target vector. |
| setViewTargetVector(Cad3DPoint value) | Gets or sets the view target vector. |
| getViewportClippingObjectId() | Gets or sets the viewport clipping object id. |
| setViewportClippingObjectId(String value) | Gets or sets the viewport clipping object id. |
| getVisualStyleHandle() | Gets or sets the visual style handle. |
| setVisualStyleHandle(String value) | Gets or sets the visual style handle. |
| getWidth() | Gets or sets the width. |
| setWidth(double value) | Gets or sets the width. |
CadViewport()
public CadViewport()
Initializes a new instance of the CadViewport class.
getTypeName()
public int getTypeName()
Gets the name of the type.
Returns: int - The name of the type.
getAmbientElement1()
public final Short getAmbientElement1()
Gets or sets the ambient element 1.
Returns: Short
setAmbientElement1(Short value)
public final void setAmbientElement1(Short value)
Gets or sets the ambient element 1.
getAmbientElement2()
public final Integer getAmbientElement2()
Gets or sets the ambient element 2.
Returns: Integer
setAmbientElement2(Integer value)
public final void setAmbientElement2(Integer value)
Gets or sets the ambient element 2.
getAmbientElement3()
public final String getAmbientElement3()
Gets or sets the ambient element 3.
Returns: String
setAmbientElement3(String value)
public final void setAmbientElement3(String value)
Gets or sets the ambient element 3.
getAxisXOfUcs()
public final Cad3DPoint getAxisXOfUcs()
Gets or sets the axis x of UCS.
Returns: Cad3DPoint
setAxisXOfUcs(Cad3DPoint value)
public final void setAxisXOfUcs(Cad3DPoint value)
Gets or sets the axis x of UCS.
getAxisYOfUcs()
public final Cad3DPoint getAxisYOfUcs()
Gets or sets the axis y of UCS.
Returns: Cad3DPoint
setAxisYOfUcs(Cad3DPoint value)
public final void setAxisYOfUcs(Cad3DPoint value)
Gets or sets the axis y of UCS.
getBackClipZValue()
public final double getBackClipZValue()
Gets or sets the back clip z value.
Returns: double
setBackClipZValue(double value)
public final void setBackClipZValue(double value)
Gets or sets the back clip z value.
getBackgroundHandle()
public final String getBackgroundHandle()
Gets or sets the background handle.
Returns: String
setBackgroundHandle(String value)
public final void setBackgroundHandle(String value)
Gets or sets the background handle.
getCenterPoint()
public final Cad3DPoint getCenterPoint()
Gets or sets the center point.
Returns: Cad3DPoint
setCenterPoint(Cad3DPoint value)
public final void setCenterPoint(Cad3DPoint value)
Gets or sets the center point.
getCircleZoomPresent()
public final short getCircleZoomPresent()
Gets or sets the circle zoom present.
Returns: short
setCircleZoomPresent(short value)
public final void setCircleZoomPresent(short value)
Gets or sets the circle zoom present.
getDefaultLigtingFlag()
public final Boolean getDefaultLigtingFlag()
Gets or sets a value indicating whether default ligting flag.
Returns: Boolean
setDefaultLigtingFlag(Boolean value)
public final void setDefaultLigtingFlag(Boolean value)
Gets or sets a value indicating whether default ligting flag.
getDefaultLigtingType()
public final Short getDefaultLigtingType()
Gets or sets the default ligting type.
Returns: Short
setDefaultLigtingType(Short value)
public final void setDefaultLigtingType(Short value)
Gets or sets the default ligting type.
getDisplayUcs()
public final short getDisplayUcs()
Gets or sets the display UCS.
Returns: short
setDisplayUcs(short value)
public final void setDisplayUcs(short value)
Gets or sets the display UCS.
getElevation()
public final double getElevation()
Gets or sets the elevation.
Returns: double
setElevation(double value)
public final void setElevation(double value)
Gets or sets the elevation.
getFrontClipZValue()
public final double getFrontClipZValue()
Gets or sets the front clip z value.
Returns: double
setFrontClipZValue(double value)
public final void setFrontClipZValue(double value)
Gets or sets the front clip z value.
getFrozenLayerObjectIdList()
public final List<String> getFrozenLayerObjectIdList()
Gets or sets the frozen layer object identifier list.
Returns: List
setFrozenLayerObjectIdList(List value)
public final void setFrozenLayerObjectIdList(List<String> value)
Gets or sets the frozen layer object identifier list.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | List | The frozen layer object identifier list. |
getGridFrequency()
public final Short getGridFrequency()
Gets or sets the grid frequency.
Returns: Short
setGridFrequency(Short value)
public final void setGridFrequency(Short value)
Gets or sets the grid frequency.
getGridSpacing()
public final Cad2DPoint getGridSpacing()
Gets or sets the grid spacing.
Returns: Cad2DPoint
setGridSpacing(Cad2DPoint value)
public final void setGridSpacing(Cad2DPoint value)
Gets or sets the grid spacing.
getHeight()
public final double getHeight()
Gets or sets the height.
Returns: double
setHeight(double value)
public final void setHeight(double value)
Gets or sets the height.
getOriginUcs()
public final Cad3DPoint getOriginUcs()
Gets or sets the origin UCS.
Returns: Cad3DPoint
setOriginUcs(Cad3DPoint value)
public final void setOriginUcs(Cad3DPoint value)
Gets or sets the origin UCS.
getOrthographic()
public final short getOrthographic()
Gets or sets the orthographic.
Returns: short
setOrthographic(short value)
public final void setOrthographic(short value)
Gets or sets the orthographic.
getPerspectiveLensLength()
public final double getPerspectiveLensLength()
Gets or sets the perspective lens length.
Returns: double
setPerspectiveLensLength(double value)
public final void setPerspectiveLensLength(double value)
Gets or sets the perspective lens length.
getPlotStyleSheetName()
public final String getPlotStyleSheetName()
Gets or sets the plot style sheet name.
Returns: String
setPlotStyleSheetName(String value)
public final void setPlotStyleSheetName(String value)
Gets or sets the plot style sheet name.
getReferenceToTableRecord()
public final String getReferenceToTableRecord()
Gets or sets the reference to table record.
Returns: String
setReferenceToTableRecord(String value)
public final void setReferenceToTableRecord(String value)
Gets or sets the reference to table record.
getReferenceToTableRecordOrthoGraphic()
public final String getReferenceToTableRecordOrthoGraphic()
Gets or sets the reference to table record ortho graphic.
Returns: String
setReferenceToTableRecordOrthoGraphic(String value)
public final void setReferenceToTableRecordOrthoGraphic(String value)
Gets or sets the reference to table record ortho graphic.
getRenderMode()
public final short getRenderMode()
Gets or sets the render mode.
Returns: short
setRenderMode(short value)
public final void setRenderMode(short value)
Gets or sets the render mode.
getShadeHandle()
public final String getShadeHandle()
Gets or sets the shade handle.
Returns: String
setShadeHandle(String value)
public final void setShadeHandle(String value)
Gets or sets the shade handle.
getShadePlotMode()
public final short getShadePlotMode()
Gets or sets the shade plot mode.
Returns: short
setShadePlotMode(short value)
public final void setShadePlotMode(short value)
Gets or sets the shade plot mode.
getSnapAngle()
public final double getSnapAngle()
Gets or sets the snap angle.
Returns: double
setSnapAngle(double value)
public final void setSnapAngle(double value)
Gets or sets the snap angle.
getSnapBasePoint()
public final Cad2DPoint getSnapBasePoint()
Gets or sets the snap base point.
Returns: Cad2DPoint
setSnapBasePoint(Cad2DPoint value)
public final void setSnapBasePoint(Cad2DPoint value)
Gets or sets the snap base point.
getSnapSpacing()
public final Cad2DPoint getSnapSpacing()
Gets or sets the snap spacing.
Returns: Cad2DPoint
setSnapSpacing(Cad2DPoint value)
public final void setSnapSpacing(Cad2DPoint value)
Gets or sets the snap spacing.
getStatus()
public final short getStatus()
Gets or sets the status. (DXF 68 status)
Returns: short
setStatus(short value)
public final void setStatus(short value)
Gets or sets the status. (DXF 68 status)
getSunHandle()
public final String getSunHandle()
Gets or sets the sun handle.
Returns: String
setSunHandle(String value)
public final void setSunHandle(String value)
Gets or sets the sun handle.
getTwistAngle()
public final double getTwistAngle()
Gets or sets the twist angle.
Returns: double
setTwistAngle(double value)
public final void setTwistAngle(double value)
Gets or sets the twist angle.
getUcsPerViewPort()
public final short getUcsPerViewPort()
Gets or sets the UCS per view port.
Returns: short
setUcsPerViewPort(short value)
public final void setUcsPerViewPort(short value)
Gets or sets the UCS per view port.
getViewHeight()
public final double getViewHeight()
Gets or sets the view height.
Returns: double
setViewHeight(double value)
public final void setViewHeight(double value)
Gets or sets the view height.
getViewBrigtness()
public final Double getViewBrigtness()
Gets or sets the view brigtness.
Returns: Double
setViewBrigtness(Double value)
public final void setViewBrigtness(Double value)
Gets or sets the view brigtness.
getViewCenterPoint()
public final Cad2DPoint getViewCenterPoint()
Gets or sets the view center point.
Returns: Cad2DPoint
setViewCenterPoint(Cad2DPoint value)
public final void setViewCenterPoint(Cad2DPoint value)
Gets or sets the view center point.
getViewContrast()
public final Double getViewContrast()
Gets or sets the view contrast.
Returns: Double
setViewContrast(Double value)
public final void setViewContrast(Double value)
Gets or sets the view contrast.
getViewDirectionVector()
public final Cad3DPoint getViewDirectionVector()
Gets or sets the view direction vector.
Returns: Cad3DPoint
setViewDirectionVector(Cad3DPoint value)
public final void setViewDirectionVector(Cad3DPoint value)
Gets or sets the view direction vector.
getViewPointRef1()
public final String getViewPointRef1()
Gets or sets the view point ref 1.
Returns: String
setViewPointRef1(String value)
public final void setViewPointRef1(String value)
Gets or sets the view point ref 1.
getViewPointRef2()
public final String getViewPointRef2()
Gets or sets the view point ref 2.
Returns: String
setViewPointRef2(String value)
public final void setViewPointRef2(String value)
Gets or sets the view point ref 2.
getViewPointRef3()
public final String getViewPointRef3()
Gets or sets the view point ref 3.
Returns: String
setViewPointRef3(String value)
public final void setViewPointRef3(String value)
Gets or sets the view point ref 3.
getViewPointRef4()
public final Integer getViewPointRef4()
Gets or sets the view point ref 4.
Returns: Integer
setViewPointRef4(Integer value)
public final void setViewPointRef4(Integer value)
Gets or sets the view point ref 4.
getViewPortId()
public final short getViewPortId()
Gets or sets the view port id.
Returns: short
setViewPortId(short value)
public final void setViewPortId(short value)
Gets or sets the view port id.
getViewPortStatus()
public final int getViewPortStatus()
Gets or sets the view port status. (DXF 90)
Returns: int
setViewPortStatus(int value)
public final void setViewPortStatus(int value)
Gets or sets the view port status. (DXF 90)
hasNewStatus()
public final boolean hasNewStatus()
Wether entity has new viewport status field (DXF 90)
Returns: boolean
setNewStatus(boolean value)
public final void setNewStatus(boolean value)
Wether entity has new viewport status field (DXF 90)
getViewTargetVector()
public final Cad3DPoint getViewTargetVector()
Gets or sets the view target vector.
Returns: Cad3DPoint
setViewTargetVector(Cad3DPoint value)
public final void setViewTargetVector(Cad3DPoint value)
Gets or sets the view target vector.
getViewportClippingObjectId()
public final String getViewportClippingObjectId()
Gets or sets the viewport clipping object id.
Returns: String
setViewportClippingObjectId(String value)
public final void setViewportClippingObjectId(String value)
Gets or sets the viewport clipping object id.
getVisualStyleHandle()
public final String getVisualStyleHandle()
Gets or sets the visual style handle.
Returns: String
setVisualStyleHandle(String value)
public final void setVisualStyleHandle(String value)
Gets or sets the visual style handle.
getWidth()
public final double getWidth()
Gets or sets the width.
Returns: double
setWidth(double value)
public final void setWidth(double value)
Gets or sets the width.