public interface TextStyleSetting extends TaggedObject, IDisplayStyle
CAE.Xyplot.IDisplayStyle#commitChange
to apply style changes to corresponding plot after it's modified.
Modifier and Type | Method and Description |
---|---|
TextAlignment |
alignment()
Returns the text alignment.
|
NXColor |
color()
Returns the text color
License requirements: None. |
String |
font()
Returns the text font
License requirements: None. |
VisualizationFonts.StyleType |
fontStyle()
Returns the text font style.
|
Fonttype |
fontType()
Returns the text font type
License requirements: None. |
double |
globalSizeScale()
Returns the scale of global text size.
|
boolean |
isGlobalSizeAutoScaled()
Returns a value indicating whether to automatically adjust the scale of global text size to fit the screen.
|
TextOrientation |
orientation()
Returns the text orientation.
|
void |
setAlignment(TextAlignment alignment)
License requirements: nx_ftk ("NX Advanced Graphing") . |
void |
setColor(NXColor color)
License requirements: nx_ftk ("NX Advanced Graphing") . |
void |
setFont(String font)
License requirements: nx_ftk ("NX Advanced Graphing") . |
void |
setFontStyle(VisualizationFonts.StyleType fontStyle)
License requirements: nx_ftk ("NX Advanced Graphing") . |
void |
setFontType(Fonttype fontType)
License requirements: nx_ftk ("NX Advanced Graphing") . |
void |
setGlobalSizeAutoScaled(boolean isGlobalSizeAutoScaled)
License requirements: nx_ftk ("NX Advanced Graphing") . |
void |
setGlobalSizeScale(double sizeScale)
License requirements: nx_ftk ("NX Advanced Graphing") . |
void |
setOrientation(TextOrientation orientation)
License requirements: nx_ftk ("NX Advanced Graphing") . |
void |
setSize(int size)
License requirements: nx_ftk ("NX Advanced Graphing") . |
void |
setUseGlobalFontSetting(boolean useGlobalFontSetting)
License requirements: nx_ftk ("NX Advanced Graphing") . |
void |
setWeight(TransientText.TextSize weight)
License requirements: nx_ftk ("NX Advanced Graphing") . |
int |
size()
Returns the text size.
|
TextBoxStyleSetting |
textBoxStyle()
Returns the style of text box
License requirements: None. |
boolean |
useGlobalFontSetting()
Returns a value indicating whether to use the global setting of text font, font style and font size.
|
TransientText.TextSize |
weight()
Returns the text weight.
|
printTestData, printTestData, tag, tagValue
commitChange, owner
boolean useGlobalFontSetting() throws NXException, RemoteException
CAE.Xyplot.TextStyleSetting#isGlobalSizeAutoScaled
and CAE.Xyplot.TextStyleSetting#setIsGlobalSizeAutoScaled
or
CAE.Xyplot.TextStyleSetting#globalSizeScale
and CAE.Xyplot.TextStyleSetting#setGlobalSizeScale
NXException
RemoteException
void setUseGlobalFontSetting(boolean useGlobalFontSetting) throws NXException, RemoteException
useGlobalFontSetting
- NXException
RemoteException
String font() throws NXException, RemoteException
NXException
RemoteException
void setFont(String font) throws NXException, RemoteException
font
- NXException
RemoteException
int size() throws NXException, RemoteException
NXException
RemoteException
void setSize(int size) throws NXException, RemoteException
size
- NXException
RemoteException
VisualizationFonts.StyleType fontStyle() throws NXException, RemoteException
NXException
RemoteException
void setFontStyle(VisualizationFonts.StyleType fontStyle) throws NXException, RemoteException
fontStyle
- NXException
RemoteException
Fonttype fontType() throws NXException, RemoteException
NXException
RemoteException
void setFontType(Fonttype fontType) throws NXException, RemoteException
fontType
- NXException
RemoteException
NXColor color() throws NXException, RemoteException
NXException
RemoteException
void setColor(NXColor color) throws NXException, RemoteException
color
- NXException
RemoteException
TransientText.TextSize weight() throws NXException, RemoteException
NXException
RemoteException
void setWeight(TransientText.TextSize weight) throws NXException, RemoteException
weight
- NXException
RemoteException
TextAlignment alignment() throws NXException, RemoteException
NXException
RemoteException
void setAlignment(TextAlignment alignment) throws NXException, RemoteException
alignment
- NXException
RemoteException
TextOrientation orientation() throws NXException, RemoteException
NXException
RemoteException
void setOrientation(TextOrientation orientation) throws NXException, RemoteException
orientation
- NXException
RemoteException
boolean isGlobalSizeAutoScaled() throws NXException, RemoteException
CAE.Xyplot.TextStyleSetting#useGlobalFontSetting
and CAE.Xyplot.TextStyleSetting#setUseGlobalFontSetting
is true.
NXException
RemoteException
void setGlobalSizeAutoScaled(boolean isGlobalSizeAutoScaled) throws NXException, RemoteException
isGlobalSizeAutoScaled
- NXException
RemoteException
double globalSizeScale() throws NXException, RemoteException
CAE.Xyplot.TextStyleSetting#useGlobalFontSetting
and CAE.Xyplot.TextStyleSetting#setUseGlobalFontSetting
is true,
and CAE.Xyplot.TextStyleSetting#isGlobalSizeAutoScaled
and CAE.Xyplot.TextStyleSetting#setIsGlobalSizeAutoScaled
is false.
NXException
RemoteException
void setGlobalSizeScale(double sizeScale) throws NXException, RemoteException
sizeScale
- NXException
RemoteException
TextBoxStyleSetting textBoxStyle() throws NXException, RemoteException
NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.