public class AxialRodFigure extends RodFigure
LWRComponent
, usually LWRRod
s, to instead provide an axial or
vertical view of the component.RodFigure.DisplayType
Constructor and Description |
---|
AxialRodFigure()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
setDisplayType(RodFigure.DisplayType displayType)
Overrides the default function to use the custom data figure.
|
void |
visit(LWRRod rod)
Overrides the parent behavior to provide an axial view of the rod's
geometry.
|
void |
visit(Tube tube)
Overrides the parent behavior to provide an axial view of the tube's
geometry.
|
addRingListener, getFigure, setAxialLevel, setColorScale, setComponent, setComponent, setDataProvider, setFeature, setMaterialLevel, setMaxRadius, setMaxValue, setMinValue, setSelected, setState, useCustomExtrema, visit, visit, visit, visit, visit, visit, visit
addLabel
add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, containsPoint, containsPoint, erase, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, getBackgroundColor, getBorder, getBounds, getChildren, getClientArea, getClientArea, getClippingStrategy, getCursor, getFont, getForegroundColor, getInsets, getLayoutManager, getLocalBackgroundColor, getLocalForegroundColor, getLocation, getMaximumSize, getMinimumSize, getMinimumSize, getParent, getPreferredSize, getPreferredSize, getSize, getToolTip, getUpdateManager, handleFocusGained, handleFocusLost, handleKeyPressed, handleKeyReleased, handleMouseDoubleClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseHover, handleMouseMoved, handleMousePressed, handleMouseReleased, hasFocus, internalGetEventDispatcher, intersects, invalidate, invalidateTree, isCoordinateSystem, isEnabled, isFocusTraversable, isMirrored, isOpaque, isRequestFocusEnabled, isShowing, isVisible, paint, remove, removeAll, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, revalidate, setBackgroundColor, setBorder, setBounds, setClippingStrategy, setConstraint, setCursor, setEnabled, setFocusTraversable, setFont, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setValid, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, validate
public AxialRodFigure()
public void setDisplayType(RodFigure.DisplayType displayType)
setDisplayType
in class RodFigure
displayType
- The new display type.public void visit(LWRRod rod)
visit
in interface ILWRComponentVisitor
visit
in class RodFigure
rod
- The LWRRod that must accept this visitor
public void visit(Tube tube)
visit
in interface ILWRComponentVisitor
visit
in class RodFigure
tube
- The Ring that must accept this visitor