Class TankFigure
java.lang.Object
org.eclipse.draw2d.Figure
org.eclipse.nebula.visualization.widgets.figures.AbstractScaledWidgetFigure
org.eclipse.nebula.visualization.widgets.figures.AbstractMarkedWidgetFigure
org.eclipse.nebula.visualization.widgets.figures.AbstractLinearMarkedFigure
org.eclipse.nebula.visualization.widgets.figures.TankFigure
- All Implemented Interfaces:
org.eclipse.draw2d.IFigure,Introspectable
public class TankFigure extends AbstractLinearMarkedFigure
A tank figure
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) classTankFigure.Tank(package private) static classTankFigure.TankLayout -
Field Summary
Fields inherited from class org.eclipse.nebula.visualization.widgets.figures.AbstractLinearMarkedFigure
markerFields inherited from class org.eclipse.nebula.visualization.widgets.figures.AbstractMarkedWidgetFigure
hiColor, hihiColor, hihiLevel, hiLevel, loColor, loLevel, loloColor, loloLevel, showHi, showHihi, showLo, showLolo, showMarkersFields inherited from class org.eclipse.nebula.visualization.widgets.figures.AbstractScaledWidgetFigure
logScale, majorTickMarkStepHint, maximum, minimum, scale, showMinorTicks, showScale, transparent, value, valueLabelFormat -
Constructor Summary
Constructors Constructor Description TankFigure() -
Method Summary
Modifier and Type Method Description org.eclipse.swt.graphics.ColorgetFillBackgroundColor()org.eclipse.swt.graphics.ColorgetFillColor()booleanisEffect3D()booleanisOpaque()voidsetEffect3D(boolean effect3D)voidsetFillBackgroundColor(org.eclipse.swt.graphics.Color fillBackgroundColor)voidsetFillColor(org.eclipse.swt.graphics.Color fillColor)voidsetForegroundColor(org.eclipse.swt.graphics.Color fg)Methods inherited from class org.eclipse.nebula.visualization.widgets.figures.AbstractLinearMarkedFigure
setHiColor, setHihiColor, setHihiLevel, setHiLevel, setLoColor, setLogScale, setLoLevel, setLoloColor, setLoloLevel, setRange, setShowHi, setShowHihi, setShowLo, setShowLolo, setShowMarkersMethods inherited from class org.eclipse.nebula.visualization.widgets.figures.AbstractMarkedWidgetFigure
getHiColor, getHihiColor, getHihiLevel, getHiLevel, getLoColor, getLoLevel, getLoloColor, getLoloLevel, isShowHi, isShowHihi, isShowLo, isShowLolo, isShowMarkersMethods inherited from class org.eclipse.nebula.visualization.widgets.figures.AbstractScaledWidgetFigure
getBeanInfo, getCoercedValue, getCoercedValue, getMajorTickMarkStepHint, getMaximum, getMinimum, getRange, getScale, getValue, getValueLabelFormat, getValueText, isLogScale, isShowMinorTicks, isShowScale, isTransparent, paintFigure, setMajorTickMarkStepHint, setRange, setScale, setShowMinorTicks, setShowScale, setTransparent, setValue, setValueLabelFormatMethods inherited from class org.eclipse.draw2d.Figure
add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, containsPoint, containsPoint, erase, findDescendantAtExcluding, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, findMouseEventTargetInDescendantsAt, fireCoordinateSystemChanged, fireFigureMoved, fireMoved, firePropertyChange, firePropertyChange, firePropertyChange, getBackgroundColor, getBorder, getBounds, getChildren, getClientArea, getClientArea, getClippingStrategy, getCursor, getFlag, getFont, getForegroundColor, getInsets, getLayoutManager, getListeners, getLocalBackgroundColor, getLocalFont, 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, isMouseEventTarget, isRequestFocusEnabled, isShowing, isValid, isValidationRoot, isVisible, layout, paint, paintBorder, paintChildren, paintClientArea, primTranslate, remove, removeAll, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, revalidate, setBackgroundColor, setBorder, setBounds, setChildrenDirection, setChildrenEnabled, setChildrenOrientation, setClippingStrategy, setConstraint, setCursor, setEnabled, setFlag, setFocusTraversable, setFont, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setValid, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, useLocalCoordinates, validate
-
Constructor Details
-
TankFigure
public TankFigure()
-
-
Method Details
-
getFillBackgroundColor
public org.eclipse.swt.graphics.Color getFillBackgroundColor()- Returns:
- the fillBackgroundColor
-
getFillColor
public org.eclipse.swt.graphics.Color getFillColor()- Returns:
- the fillColor
-
isEffect3D
public boolean isEffect3D()- Returns:
- the effect3D
-
isOpaque
public boolean isOpaque()- Specified by:
isOpaquein interfaceorg.eclipse.draw2d.IFigure- Overrides:
isOpaquein classAbstractScaledWidgetFigure
-
setEffect3D
public void setEffect3D(boolean effect3D)- Parameters:
effect3D- the effect3D to set
-
setFillBackgroundColor
public void setFillBackgroundColor(org.eclipse.swt.graphics.Color fillBackgroundColor)- Parameters:
fillBackgroundColor- the fillBackgroundColor to set
-
setFillColor
public void setFillColor(org.eclipse.swt.graphics.Color fillColor)- Parameters:
fillColor- the fillColor to set
-
setForegroundColor
public void setForegroundColor(org.eclipse.swt.graphics.Color fg)- Specified by:
setForegroundColorin interfaceorg.eclipse.draw2d.IFigure- Overrides:
setForegroundColorin classorg.eclipse.draw2d.Figure
-