public class TankFigure extends AbstractLinearMarkedFigure
Modifier and Type | Class and Description |
---|---|
(package private) class |
TankFigure.Tank |
(package private) static class |
TankFigure.TankLayout |
marker
hiColor, hihiColor, hihiLevel, hiLevel, loColor, loLevel, loloColor, loloLevel, showHi, showHihi, showLo, showLolo, showMarkers
logScale, majorTickMarkStepHint, maximum, minimum, scale, showMinorTicks, showScale, transparent, value, valueLabelFormat
Constructor and Description |
---|
TankFigure() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.graphics.Color |
getFillBackgroundColor() |
org.eclipse.swt.graphics.Color |
getFillColor() |
boolean |
isEffect3D() |
boolean |
isOpaque() |
void |
setEffect3D(boolean effect3D) |
void |
setFillBackgroundColor(org.eclipse.swt.graphics.Color fillBackgroundColor) |
void |
setFillColor(org.eclipse.swt.graphics.Color fillColor) |
void |
setForegroundColor(org.eclipse.swt.graphics.Color fg) |
setHiColor, setHihiColor, setHihiLevel, setHiLevel, setLoColor, setLogScale, setLoLevel, setLoloColor, setLoloLevel, setRange, setShowHi, setShowHihi, setShowLo, setShowLolo, setShowMarkers
getHiColor, getHihiColor, getHihiLevel, getHiLevel, getLoColor, getLoLevel, getLoloColor, getLoloLevel, isShowHi, isShowHihi, isShowLo, isShowLolo, isShowMarkers
getBeanInfo, getCoercedValue, getCoercedValue, getMajorTickMarkStepHint, getMaximum, getMinimum, getRange, getScale, getValue, getValueLabelFormat, getValueText, isLogScale, isShowMinorTicks, isShowScale, isTransparent, paintFigure, setMajorTickMarkStepHint, setRange, setScale, setShowMinorTicks, setShowScale, setTransparent, setValue, setValueLabelFormat
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
public org.eclipse.swt.graphics.Color getFillBackgroundColor()
public org.eclipse.swt.graphics.Color getFillColor()
public boolean isEffect3D()
public boolean isOpaque()
isOpaque
in interface org.eclipse.draw2d.IFigure
isOpaque
in class AbstractScaledWidgetFigure
public void setEffect3D(boolean effect3D)
effect3D
- the effect3D to setpublic void setFillBackgroundColor(org.eclipse.swt.graphics.Color fillBackgroundColor)
fillBackgroundColor
- the fillBackgroundColor to setpublic void setFillColor(org.eclipse.swt.graphics.Color fillColor)
fillColor
- the fillColor to setpublic void setForegroundColor(org.eclipse.swt.graphics.Color fg)
setForegroundColor
in interface org.eclipse.draw2d.IFigure
setForegroundColor
in class org.eclipse.draw2d.Figure