com.ptc.wvs.client.beans
Class ViewerPreferences

java.lang.Object
  extended bycom.ptc.wvs.client.beans.ViewerPreferences
All Implemented Interfaces:
Preferences

public class ViewerPreferences
extends Object
implements Preferences


Field Summary
private  String AnnotationArrowStyle
           
private  String AnnotationFillColor
           
private  String AnnotationFillStyle
           
private  String AnnotationLineColor
           
private  String AnnotationLineMed
           
private  String AnnotationLineStyle
           
private  String AnnotationLineThick
           
private  String AnnotationLineThin
           
private  String AnnotationLineWeight
           
private  String AnnotationTextColor
           
private  String AnnotationTextSize
           
private  String DrawingApproxLines
           
private  String DrawingMonochromeDisplay
           
private  String DrawingPrintMonochrome
           
private  String DrawingPrintTrueScale
           
private  String DrawingUnits
           
private  String DrawingUnitsScale
           
private  String DrawingWireframeBackground
           
private  String ECADFillApertures
           
private  String ECADFillPolygons
           
private  String ECADFillStyle
           
private  String ECADGrayOnHighlight
           
private  String ECADHideDetail
           
private  String ECADHidePercentage
           
private  String ECADHighlightColor
           
private  String ECADMeasureEntitiesFromCenter
           
private  String ECADMeasurementScale
           
private  String ECADMeasurementUnits
           
private  String ECADPercentageMarginZoom
           
private  String ECADPrintMonochrome
           
static String FALSE
           
 String H_AnnotationArrowStyle
           
 String H_AnnotationFillColor
           
 String H_AnnotationFillStyle
           
 String H_AnnotationLineColor
           
 String H_AnnotationLineMed
           
 String H_AnnotationLineStyle
           
 String H_AnnotationLineThick
           
 String H_AnnotationLineThin
           
 String H_AnnotationLineWeight
           
 String H_AnnotationTextColor
           
 String H_AnnotationTextSize
           
 String H_DrawingApproxLines
           
 String H_DrawingMonochromeDisplay
           
 String H_DrawingPrintMonochrome
           
 String H_DrawingPrintTrueScale
           
 String H_DrawingUnits
           
 String H_DrawingUnitsScale
           
 String H_DrawingWireframeBackground
           
 String H_ECADFillApertures
           
 String H_ECADFillPolygons
           
 String H_ECADFillStyle
           
 String H_ECADGrayOnHighlight
           
 String H_ECADHideDetail
           
 String H_ECADHidePercentage
           
 String H_ECADHighlightColor
           
 String H_ECADMeasureEntitiesFromCenter
           
 String H_ECADMeasurementScale
           
 String H_ECADMeasurementUnits
           
 String H_ECADPercentageMarginZoom
           
 String H_ECADPrintMonochrome
           
 String H_ModelDisplayViewGnomon
           
 String H_ModelGraduatedBackground
           
 String H_ModelHiddenAsDashed
           
 String H_ModelHighlightColor
           
 String H_ModelHighlightUsingBoundingBox
           
 String H_ModelHighlightUsingColor
           
 String H_ModelPolygonsFilled
           
 String H_ModelPolygonsShaded
           
 String H_ModelPrintMonochrome
           
 String H_ModelShadedBackground
           
 String H_ModelUnits
           
 String H_ModelViewMode
           
 String H_ModelWireframeBackground
           
private  String ModelDisplayViewGnomon
           
private  String ModelGraduatedBackground
           
private  String ModelHiddenAsDashed
           
private  String ModelHighlightColor
           
private  String ModelHighlightUsingBoundingBox
           
private  String ModelHighlightUsingColor
           
private  String ModelPolygonsFilled
           
private  String ModelPolygonsShaded
           
private  String ModelPrintMonochrome
           
private  String ModelShadedBackground
           
private  String ModelUnits
           
private  String ModelViewMode
           
private  String ModelWireframeBackground
           
static String TRUE
           
 
Constructor Summary
ViewerPreferences()
           
 
Method Summary
 boolean applySettings()
           
 String getAnnotationArrowStyle()
           
 String getAnnotationFillColor()
           
 String getAnnotationFillStyle()
           
 String getAnnotationLineColor()
           
 String getAnnotationLineMed()
           
 String getAnnotationLineStyle()
           
 String getAnnotationLineThick()
           
 String getAnnotationLineThin()
           
 String getAnnotationLineWeight()
           
 String getAnnotationTextColor()
           
 String getAnnotationTextSize()
           
 String getDrawingApproxLines()
           
 String getDrawingMonochromeDisplay()
           
 String getDrawingPrintMonochrome()
           
 String getDrawingPrintTrueScale()
           
 String getDrawingUnits()
           
 String getDrawingUnitsScale()
           
 String getDrawingWireframeBackground()
           
 String getECADFillApertures()
           
 String getECADFillPolygons()
           
 String getECADFillStyle()
           
 String getECADGrayOnHighlight()
           
 String getECADHideDetail()
           
 String getECADHidePercentage()
           
 String getECADHighlightColor()
           
 String getECADMeasureEntitiesFromCenter()
           
 String getECADMeasurementScale()
           
 String getECADMeasurementUnits()
           
 String getECADPercentageMarginZoom()
           
 String getECADPrintMonochrome()
           
 String getModelDisplayViewGnomon()
           
 String getModelGraduatedBackground()
           
 String getModelHiddenAsDashed()
           
 String getModelHighlightColor()
           
 String getModelHighlightUsingBoundingBox()
           
 String getModelHighlightUsingColor()
           
 String getModelPolygonsFilled()
           
 String getModelPolygonsShaded()
           
 String getModelPrintMonochrome()
           
 String getModelShadedBackground()
           
 String getModelUnits()
           
 String getModelViewMode()
           
 String getModelWireframeBackground()
           
 void setAnnotationArrowStyle(String val)
           
 void setAnnotationFillColor(String val)
           
 void setAnnotationFillStyle(String val)
           
 void setAnnotationLineColor(String val)
           
 void setAnnotationLineMed(String val)
           
 void setAnnotationLineStyle(String val)
           
 void setAnnotationLineThick(String val)
           
 void setAnnotationLineThin(String val)
           
 void setAnnotationLineWeight(String val)
           
 void setAnnotationTextColor(String val)
           
 void setAnnotationTextSize(String val)
           
 void setDrawingApproxLines(String drawingApproxLines)
           
 void setDrawingMonochromeDisplay(String drawingMonochromeDisplay)
           
 void setDrawingPrintMonochrome(String drawingPrintMonochrome)
           
 void setDrawingPrintTrueScale(String drawingPrintTrueScale)
           
 void setDrawingUnits(String drawingUnits)
           
 void setDrawingUnitsScale(String drawingUnitsScale)
           
 void setDrawingWireframeBackground(String wireframeBackground)
           
 void setECADFillApertures(String fillApertures)
           
 void setECADFillPolygons(String fillPolygons)
           
 void setECADFillStyle(String fillStyle)
           
 void setECADGrayOnHighlight(String grayOnHighlight)
           
 void setECADHideDetail(String hideDetail)
           
 void setECADHidePercentage(String hidePercentage)
           
 void setECADHighlightColor(String highlightColor)
           
 void setECADMeasureEntitiesFromCenter(String measureEntitiesFromCenter)
           
 void setECADMeasurementScale(String measurementScale)
           
 void setECADMeasurementUnits(String measurementUnits)
           
 void setECADPercentageMarginZoom(String percentageMarginZoom)
           
 void setECADPrintMonochrome(String printMonochrome)
           
 void setModelDisplayViewGnomon(String modelDisplayViewGnomon)
           
 void setModelGraduatedBackground(String graduatedBackground)
           
 void setModelHiddenAsDashed(String modelHiddenAsDashed)
           
 void setModelHighlightColor(String highlightColor)
           
 void setModelHighlightUsingBoundingBox(String modelHighlightUsingBoundingBox)
           
 void setModelHighlightUsingColor(String modelHighlightUsingColor)
           
 void setModelPolygonsFilled(String modelPolygonsFilled)
           
 void setModelPolygonsShaded(String modelPolygonsShaded)
           
 void setModelPrintMonochrome(String printMonochrome)
           
 void setModelShadedBackground(String shadedBackground)
           
 void setModelUnits(String modelUnits)
           
 void setModelViewMode(String modelViewMode)
           
 void setModelWireframeBackground(String wireframeBackground)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRUE

public static String TRUE

FALSE

public static String FALSE

H_ModelShadedBackground

public String H_ModelShadedBackground

H_ModelGraduatedBackground

public String H_ModelGraduatedBackground

H_ModelWireframeBackground

public String H_ModelWireframeBackground

H_ModelHighlightColor

public String H_ModelHighlightColor

H_ModelDisplayViewGnomon

public String H_ModelDisplayViewGnomon

H_ModelHighlightUsingColor

public String H_ModelHighlightUsingColor

H_ModelHighlightUsingBoundingBox

public String H_ModelHighlightUsingBoundingBox

H_ModelUnits

public String H_ModelUnits

H_ModelPrintMonochrome

public String H_ModelPrintMonochrome

H_ModelViewMode

public String H_ModelViewMode

H_ModelHiddenAsDashed

public String H_ModelHiddenAsDashed

H_ModelPolygonsFilled

public String H_ModelPolygonsFilled

H_ModelPolygonsShaded

public String H_ModelPolygonsShaded

H_DrawingWireframeBackground

public String H_DrawingWireframeBackground

H_DrawingMonochromeDisplay

public String H_DrawingMonochromeDisplay

H_DrawingUnits

public String H_DrawingUnits

H_DrawingUnitsScale

public String H_DrawingUnitsScale

H_DrawingPrintMonochrome

public String H_DrawingPrintMonochrome

H_DrawingPrintTrueScale

public String H_DrawingPrintTrueScale

H_DrawingApproxLines

public String H_DrawingApproxLines

H_ECADMeasurementUnits

public String H_ECADMeasurementUnits

H_ECADMeasurementScale

public String H_ECADMeasurementScale

H_ECADFillPolygons

public String H_ECADFillPolygons

H_ECADFillApertures

public String H_ECADFillApertures

H_ECADFillStyle

public String H_ECADFillStyle

H_ECADPercentageMarginZoom

public String H_ECADPercentageMarginZoom

H_ECADMeasureEntitiesFromCenter

public String H_ECADMeasureEntitiesFromCenter

H_ECADHighlightColor

public String H_ECADHighlightColor

H_ECADPrintMonochrome

public String H_ECADPrintMonochrome

H_ECADHideDetail

public String H_ECADHideDetail

H_ECADHidePercentage

public String H_ECADHidePercentage

H_ECADGrayOnHighlight

public String H_ECADGrayOnHighlight

H_AnnotationTextSize

public String H_AnnotationTextSize

H_AnnotationTextColor

public String H_AnnotationTextColor

H_AnnotationFillStyle

public String H_AnnotationFillStyle

H_AnnotationFillColor

public String H_AnnotationFillColor

H_AnnotationLineStyle

public String H_AnnotationLineStyle

H_AnnotationLineWeight

public String H_AnnotationLineWeight

H_AnnotationArrowStyle

public String H_AnnotationArrowStyle

H_AnnotationLineColor

public String H_AnnotationLineColor

H_AnnotationLineThin

public String H_AnnotationLineThin

H_AnnotationLineMed

public String H_AnnotationLineMed

H_AnnotationLineThick

public String H_AnnotationLineThick

ModelShadedBackground

private String ModelShadedBackground

ModelGraduatedBackground

private String ModelGraduatedBackground

ModelWireframeBackground

private String ModelWireframeBackground

ModelHighlightColor

private String ModelHighlightColor

ModelDisplayViewGnomon

private String ModelDisplayViewGnomon

ModelHighlightUsingColor

private String ModelHighlightUsingColor

ModelHighlightUsingBoundingBox

private String ModelHighlightUsingBoundingBox

ModelUnits

private String ModelUnits

ModelPrintMonochrome

private String ModelPrintMonochrome

ModelViewMode

private String ModelViewMode

ModelHiddenAsDashed

private String ModelHiddenAsDashed

ModelPolygonsFilled

private String ModelPolygonsFilled

ModelPolygonsShaded

private String ModelPolygonsShaded

DrawingWireframeBackground

private String DrawingWireframeBackground

DrawingMonochromeDisplay

private String DrawingMonochromeDisplay

DrawingUnits

private String DrawingUnits

DrawingUnitsScale

private String DrawingUnitsScale

DrawingPrintMonochrome

private String DrawingPrintMonochrome

DrawingPrintTrueScale

private String DrawingPrintTrueScale

DrawingApproxLines

private String DrawingApproxLines

ECADMeasurementUnits

private String ECADMeasurementUnits

ECADMeasurementScale

private String ECADMeasurementScale

ECADFillPolygons

private String ECADFillPolygons

ECADFillApertures

private String ECADFillApertures

ECADFillStyle

private String ECADFillStyle

ECADPercentageMarginZoom

private String ECADPercentageMarginZoom

ECADMeasureEntitiesFromCenter

private String ECADMeasureEntitiesFromCenter

ECADHighlightColor

private String ECADHighlightColor

ECADPrintMonochrome

private String ECADPrintMonochrome

ECADHideDetail

private String ECADHideDetail

ECADHidePercentage

private String ECADHidePercentage

ECADGrayOnHighlight

private String ECADGrayOnHighlight

AnnotationTextSize

private String AnnotationTextSize

AnnotationTextColor

private String AnnotationTextColor

AnnotationFillStyle

private String AnnotationFillStyle

AnnotationFillColor

private String AnnotationFillColor

AnnotationLineStyle

private String AnnotationLineStyle

AnnotationLineWeight

private String AnnotationLineWeight

AnnotationArrowStyle

private String AnnotationArrowStyle

AnnotationLineColor

private String AnnotationLineColor

AnnotationLineThin

private String AnnotationLineThin

AnnotationLineMed

private String AnnotationLineMed

AnnotationLineThick

private String AnnotationLineThick
Constructor Detail

ViewerPreferences

public ViewerPreferences()
Method Detail

setModelShadedBackground

public void setModelShadedBackground(String shadedBackground)
Specified by:
setModelShadedBackground in interface Preferences

getModelShadedBackground

public String getModelShadedBackground()
Specified by:
getModelShadedBackground in interface Preferences

setModelGraduatedBackground

public void setModelGraduatedBackground(String graduatedBackground)
Specified by:
setModelGraduatedBackground in interface Preferences

getModelGraduatedBackground

public String getModelGraduatedBackground()
Specified by:
getModelGraduatedBackground in interface Preferences

setModelWireframeBackground

public void setModelWireframeBackground(String wireframeBackground)
Specified by:
setModelWireframeBackground in interface Preferences

getModelWireframeBackground

public String getModelWireframeBackground()
Specified by:
getModelWireframeBackground in interface Preferences

setModelHighlightColor

public void setModelHighlightColor(String highlightColor)
Specified by:
setModelHighlightColor in interface Preferences

getModelHighlightColor

public String getModelHighlightColor()
Specified by:
getModelHighlightColor in interface Preferences

setModelDisplayViewGnomon

public void setModelDisplayViewGnomon(String modelDisplayViewGnomon)
Specified by:
setModelDisplayViewGnomon in interface Preferences

getModelDisplayViewGnomon

public String getModelDisplayViewGnomon()
Specified by:
getModelDisplayViewGnomon in interface Preferences

setModelHighlightUsingColor

public void setModelHighlightUsingColor(String modelHighlightUsingColor)
Specified by:
setModelHighlightUsingColor in interface Preferences

getModelHighlightUsingColor

public String getModelHighlightUsingColor()
Specified by:
getModelHighlightUsingColor in interface Preferences

setModelHighlightUsingBoundingBox

public void setModelHighlightUsingBoundingBox(String modelHighlightUsingBoundingBox)
Specified by:
setModelHighlightUsingBoundingBox in interface Preferences

getModelHighlightUsingBoundingBox

public String getModelHighlightUsingBoundingBox()
Specified by:
getModelHighlightUsingBoundingBox in interface Preferences

setModelUnits

public void setModelUnits(String modelUnits)
Specified by:
setModelUnits in interface Preferences

getModelUnits

public String getModelUnits()
Specified by:
getModelUnits in interface Preferences

getModelPrintMonochrome

public String getModelPrintMonochrome()
Specified by:
getModelPrintMonochrome in interface Preferences

setModelPrintMonochrome

public void setModelPrintMonochrome(String printMonochrome)
Specified by:
setModelPrintMonochrome in interface Preferences

getModelViewMode

public String getModelViewMode()
Specified by:
getModelViewMode in interface Preferences

setModelViewMode

public void setModelViewMode(String modelViewMode)
Specified by:
setModelViewMode in interface Preferences

getModelHiddenAsDashed

public String getModelHiddenAsDashed()
Specified by:
getModelHiddenAsDashed in interface Preferences

setModelHiddenAsDashed

public void setModelHiddenAsDashed(String modelHiddenAsDashed)
Specified by:
setModelHiddenAsDashed in interface Preferences

getModelPolygonsFilled

public String getModelPolygonsFilled()
Specified by:
getModelPolygonsFilled in interface Preferences

setModelPolygonsFilled

public void setModelPolygonsFilled(String modelPolygonsFilled)
Specified by:
setModelPolygonsFilled in interface Preferences

getModelPolygonsShaded

public String getModelPolygonsShaded()
Specified by:
getModelPolygonsShaded in interface Preferences

setModelPolygonsShaded

public void setModelPolygonsShaded(String modelPolygonsShaded)
Specified by:
setModelPolygonsShaded in interface Preferences

setDrawingWireframeBackground

public void setDrawingWireframeBackground(String wireframeBackground)
Specified by:
setDrawingWireframeBackground in interface Preferences

getDrawingWireframeBackground

public String getDrawingWireframeBackground()
Specified by:
getDrawingWireframeBackground in interface Preferences

setDrawingMonochromeDisplay

public void setDrawingMonochromeDisplay(String drawingMonochromeDisplay)
Specified by:
setDrawingMonochromeDisplay in interface Preferences

getDrawingMonochromeDisplay

public String getDrawingMonochromeDisplay()
Specified by:
getDrawingMonochromeDisplay in interface Preferences

setDrawingUnits

public void setDrawingUnits(String drawingUnits)
Specified by:
setDrawingUnits in interface Preferences

getDrawingUnits

public String getDrawingUnits()
Specified by:
getDrawingUnits in interface Preferences

setDrawingUnitsScale

public void setDrawingUnitsScale(String drawingUnitsScale)
Specified by:
setDrawingUnitsScale in interface Preferences

getDrawingUnitsScale

public String getDrawingUnitsScale()
Specified by:
getDrawingUnitsScale in interface Preferences

setDrawingPrintMonochrome

public void setDrawingPrintMonochrome(String drawingPrintMonochrome)
Specified by:
setDrawingPrintMonochrome in interface Preferences

getDrawingPrintMonochrome

public String getDrawingPrintMonochrome()
Specified by:
getDrawingPrintMonochrome in interface Preferences

setDrawingPrintTrueScale

public void setDrawingPrintTrueScale(String drawingPrintTrueScale)
Specified by:
setDrawingPrintTrueScale in interface Preferences

getDrawingPrintTrueScale

public String getDrawingPrintTrueScale()
Specified by:
getDrawingPrintTrueScale in interface Preferences

setDrawingApproxLines

public void setDrawingApproxLines(String drawingApproxLines)
Specified by:
setDrawingApproxLines in interface Preferences

getDrawingApproxLines

public String getDrawingApproxLines()
Specified by:
getDrawingApproxLines in interface Preferences

getECADMeasurementUnits

public String getECADMeasurementUnits()
Specified by:
getECADMeasurementUnits in interface Preferences

setECADMeasurementUnits

public void setECADMeasurementUnits(String measurementUnits)
Specified by:
setECADMeasurementUnits in interface Preferences

getECADMeasurementScale

public String getECADMeasurementScale()
Specified by:
getECADMeasurementScale in interface Preferences

setECADMeasurementScale

public void setECADMeasurementScale(String measurementScale)
Specified by:
setECADMeasurementScale in interface Preferences

getECADFillPolygons

public String getECADFillPolygons()
Specified by:
getECADFillPolygons in interface Preferences

setECADFillPolygons

public void setECADFillPolygons(String fillPolygons)
Specified by:
setECADFillPolygons in interface Preferences

getECADFillApertures

public String getECADFillApertures()
Specified by:
getECADFillApertures in interface Preferences

setECADFillApertures

public void setECADFillApertures(String fillApertures)
Specified by:
setECADFillApertures in interface Preferences

getECADFillStyle

public String getECADFillStyle()
Specified by:
getECADFillStyle in interface Preferences

setECADFillStyle

public void setECADFillStyle(String fillStyle)
Specified by:
setECADFillStyle in interface Preferences

getECADPercentageMarginZoom

public String getECADPercentageMarginZoom()
Specified by:
getECADPercentageMarginZoom in interface Preferences

setECADPercentageMarginZoom

public void setECADPercentageMarginZoom(String percentageMarginZoom)
Specified by:
setECADPercentageMarginZoom in interface Preferences

getECADMeasureEntitiesFromCenter

public String getECADMeasureEntitiesFromCenter()
Specified by:
getECADMeasureEntitiesFromCenter in interface Preferences

setECADMeasureEntitiesFromCenter

public void setECADMeasureEntitiesFromCenter(String measureEntitiesFromCenter)
Specified by:
setECADMeasureEntitiesFromCenter in interface Preferences

getECADHighlightColor

public String getECADHighlightColor()
Specified by:
getECADHighlightColor in interface Preferences

setECADHighlightColor

public void setECADHighlightColor(String highlightColor)
Specified by:
setECADHighlightColor in interface Preferences

getECADPrintMonochrome

public String getECADPrintMonochrome()
Specified by:
getECADPrintMonochrome in interface Preferences

setECADPrintMonochrome

public void setECADPrintMonochrome(String printMonochrome)
Specified by:
setECADPrintMonochrome in interface Preferences

getECADHideDetail

public String getECADHideDetail()
Specified by:
getECADHideDetail in interface Preferences

setECADHideDetail

public void setECADHideDetail(String hideDetail)
Specified by:
setECADHideDetail in interface Preferences

getECADHidePercentage

public String getECADHidePercentage()
Specified by:
getECADHidePercentage in interface Preferences

setECADHidePercentage

public void setECADHidePercentage(String hidePercentage)
Specified by:
setECADHidePercentage in interface Preferences

getECADGrayOnHighlight

public String getECADGrayOnHighlight()
Specified by:
getECADGrayOnHighlight in interface Preferences

setECADGrayOnHighlight

public void setECADGrayOnHighlight(String grayOnHighlight)
Specified by:
setECADGrayOnHighlight in interface Preferences

getAnnotationTextSize

public String getAnnotationTextSize()

setAnnotationTextSize

public void setAnnotationTextSize(String val)

getAnnotationTextColor

public String getAnnotationTextColor()

setAnnotationTextColor

public void setAnnotationTextColor(String val)

getAnnotationFillStyle

public String getAnnotationFillStyle()

setAnnotationFillStyle

public void setAnnotationFillStyle(String val)

getAnnotationFillColor

public String getAnnotationFillColor()

setAnnotationFillColor

public void setAnnotationFillColor(String val)

getAnnotationLineStyle

public String getAnnotationLineStyle()

setAnnotationLineStyle

public void setAnnotationLineStyle(String val)

getAnnotationLineWeight

public String getAnnotationLineWeight()

setAnnotationLineWeight

public void setAnnotationLineWeight(String val)

getAnnotationArrowStyle

public String getAnnotationArrowStyle()

setAnnotationArrowStyle

public void setAnnotationArrowStyle(String val)

getAnnotationLineColor

public String getAnnotationLineColor()

setAnnotationLineColor

public void setAnnotationLineColor(String val)

getAnnotationLineThin

public String getAnnotationLineThin()

setAnnotationLineThin

public void setAnnotationLineThin(String val)

getAnnotationLineMed

public String getAnnotationLineMed()

setAnnotationLineMed

public void setAnnotationLineMed(String val)

getAnnotationLineThick

public String getAnnotationLineThick()

setAnnotationLineThick

public void setAnnotationLineThick(String val)

applySettings

public boolean applySettings()
Specified by:
applySettings in interface Preferences