public interface TextStyleSetting extends BaseDisplayStyleSetting, IVisibleDisplayStyle
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.
|
LeaderStyle |
leaderStyle()
Returns the leader style
License requirements: None. |
NumberFormat |
numberFormat()
Returns the number format options
License requirements: None. |
TextOrientation |
orientation()
Returns the text orientation.
|
void |
setAlignment(TextAlignment alignment)
License requirements: None. |
void |
setColor(NXColor color)
License requirements: None. |
void |
setFont(String font)
License requirements: None. |
void |
setFontStyle(VisualizationFonts.StyleType fontStyle)
License requirements: None. |
void |
setFontType(Fonttype fontType)
License requirements: None. |
void |
setGlobalSizeAutoScaled(boolean isGlobalSizeAutoScaled)
License requirements: None. |
void |
setGlobalSizeScale(double sizeScale)
License requirements: None. |
void |
setOrientation(TextOrientation orientation)
License requirements: None. |
void |
setSize(int size)
License requirements: None. |
void |
setUseGlobalFontSetting(boolean useGlobalFontSetting)
License requirements: None. |
void |
setWeight(TransientText.TextSize weight)
License requirements: None. |
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.
|
find, journalIdentifier
printTestData, printTestData, tag, tagValue
commitChange, owner
setVisibility, visibility
boolean useGlobalFontSetting() throws NXException, RemoteException
isGlobalSizeAutoScaled()
and nxopen.cae.xyplot.TextStyleSetting#setIsGlobalSizeAutoScaled
or
globalSizeScale()
and setGlobalSizeScale(double)
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
useGlobalFontSetting()
and setUseGlobalFontSetting(boolean)
is true.
NXException
RemoteException
void setGlobalSizeAutoScaled(boolean isGlobalSizeAutoScaled) throws NXException, RemoteException
isGlobalSizeAutoScaled
- NXException
RemoteException
double globalSizeScale() throws NXException, RemoteException
useGlobalFontSetting()
and setUseGlobalFontSetting(boolean)
is true,
and isGlobalSizeAutoScaled()
is false.
NXException
RemoteException
void setGlobalSizeScale(double sizeScale) throws NXException, RemoteException
sizeScale
- NXException
RemoteException
TextBoxStyleSetting textBoxStyle() throws NXException, RemoteException
NXException
RemoteException
LeaderStyle leaderStyle() throws NXException, RemoteException
NXException
RemoteException
NumberFormat numberFormat() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.