public interface PostAnnotation extends TransientObject
draw()
to make changes visible.
Modifier and Type | Interface and Description |
---|---|
static class |
PostAnnotation.Style
Annotation styles
|
static class |
PostAnnotation.TextAlignment
Annotation text alignment
|
static class |
PostAnnotation.ValueType
Annotation value type
|
Modifier and Type | Method and Description |
---|---|
NXColor |
boxColor()
Returns the box color
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") OR sc_results_viewer (" Simcenter Results Viewer") . |
boolean |
boxFill()
Returns the box filling
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") OR sc_results_viewer (" Simcenter Results Viewer") . |
PostAnnotation.TextAlignment |
boxTextAlignment()
Returns the text alignment
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") OR sc_results_viewer (" Simcenter Results Viewer") . |
boolean |
boxTranluceny()
Deprecated.
Deprecated in NX12.0.0. Use
boxTranslucency() instead.
|
boolean |
boxTranslucency()
Returns the box translucency
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") OR sc_results_viewer (" Simcenter Results Viewer") . |
void |
delete()
Deletes the annotation.
|
PostAnnotation.Style |
displayStyle()
Returns the annotation style
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") OR sc_results_viewer (" Simcenter Results Viewer") . |
PostAnnotation.ValueType |
displayValueType()
Returns the annotation value type
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") OR sc_results_viewer (" Simcenter Results Viewer") . |
void |
draw()
Draw annotation object on graphics screen.
|
boolean |
drawBox()
Returns the box drawing
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") OR sc_results_viewer (" Simcenter Results Viewer") . |
String[] |
getUserText()
Ask the user text in each box
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") OR sc_results_viewer (" Simcenter Results Viewer") . |
String |
name()
Returns the annotation name
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") OR sc_results_viewer (" Simcenter Results Viewer") . |
void |
setBoxColor(NXColor boxColor)
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") OR sc_results_viewer (" Simcenter Results Viewer") . |
void |
setBoxFill(boolean boxFill)
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") OR sc_results_viewer (" Simcenter Results Viewer") . |
void |
setBoxTextAlignment(PostAnnotation.TextAlignment boxTextAlignment)
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") OR sc_results_viewer (" Simcenter Results Viewer") . |
void |
setBoxTranluceny(boolean boxTranluceny)
Deprecated.
Deprecated in NX12.0.0. Use
setBoxTranslucency(boolean) instead.
|
void |
setBoxTranslucency(boolean boxTranslucency)
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") OR sc_results_viewer (" Simcenter Results Viewer") . |
void |
setDisplayStyle(PostAnnotation.Style style)
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") OR sc_results_viewer (" Simcenter Results Viewer") . |
void |
setDisplayValueType(PostAnnotation.ValueType valueType)
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") OR sc_results_viewer (" Simcenter Results Viewer") . |
void |
setDrawBox(boolean drawBox)
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") OR sc_results_viewer (" Simcenter Results Viewer") . |
void |
setName(String name)
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") OR sc_results_viewer (" Simcenter Results Viewer") . |
void |
setTextColor(NXColor textColor)
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") OR sc_results_viewer (" Simcenter Results Viewer") . |
void |
setUserText(String[] usertext)
Put the user text in each box
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") OR sc_results_viewer (" Simcenter Results Viewer") . |
void |
show(boolean show)
Show/Hide annotation object on graphics screen.
|
NXColor |
textColor()
Returns the text color
License requirements: nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation") OR sc_results_viewer (" Simcenter Results Viewer") . |
_value, dispose, printTestData, printTestData
void delete() throws NXException, RemoteException
NXException
RemoteException
void draw() throws NXException, RemoteException
NXException
RemoteException
void show(boolean show) throws NXException, RemoteException
show
- true will show annotation, false will hideNXException
RemoteException
String name() throws NXException, RemoteException
NXException
RemoteException
void setName(String name) throws NXException, RemoteException
name
- NXException
RemoteException
PostAnnotation.Style displayStyle() throws NXException, RemoteException
NXException
RemoteException
void setDisplayStyle(PostAnnotation.Style style) throws NXException, RemoteException
style
- NXException
RemoteException
PostAnnotation.ValueType displayValueType() throws NXException, RemoteException
NXException
RemoteException
void setDisplayValueType(PostAnnotation.ValueType valueType) throws NXException, RemoteException
valueType
- NXException
RemoteException
void setUserText(String[] usertext) throws NXException, RemoteException
usertext
- NXException
RemoteException
String[] getUserText() throws NXException, RemoteException
NXException
RemoteException
boolean drawBox() throws NXException, RemoteException
NXException
RemoteException
void setDrawBox(boolean drawBox) throws NXException, RemoteException
drawBox
- NXException
RemoteException
boolean boxFill() throws NXException, RemoteException
NXException
RemoteException
void setBoxFill(boolean boxFill) throws NXException, RemoteException
boxFill
- NXException
RemoteException
boolean boxTranluceny() throws NXException, RemoteException
boxTranslucency()
instead.
NXException
RemoteException
void setBoxTranluceny(boolean boxTranluceny) throws NXException, RemoteException
setBoxTranslucency(boolean)
instead.
boxTranluceny
- NXException
RemoteException
NXColor boxColor() throws NXException, RemoteException
NXException
RemoteException
void setBoxColor(NXColor boxColor) throws NXException, RemoteException
boxColor
- NXException
RemoteException
NXColor textColor() throws NXException, RemoteException
NXException
RemoteException
void setTextColor(NXColor textColor) throws NXException, RemoteException
textColor
- NXException
RemoteException
PostAnnotation.TextAlignment boxTextAlignment() throws NXException, RemoteException
NXException
RemoteException
void setBoxTextAlignment(PostAnnotation.TextAlignment boxTextAlignment) throws NXException, RemoteException
boxTextAlignment
- NXException
RemoteException
boolean boxTranslucency() throws NXException, RemoteException
NXException
RemoteException
void setBoxTranslucency(boolean boxTranslucency) throws NXException, RemoteException
boxTranslucency
- NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.