Package org.csstudio.swt.widgets.figures
Class AbstractMarkedWidgetFigure
java.lang.Object
org.eclipse.draw2d.Figure
org.csstudio.swt.widgets.figures.AbstractScaledWidgetFigure
org.csstudio.swt.widgets.figures.AbstractMarkedWidgetFigure
- All Implemented Interfaces:
Introspectable
,org.eclipse.draw2d.IFigure
- Direct Known Subclasses:
AbstractLinearMarkedFigure
,AbstractRoundRampedFigure
Base figure for a widget based on
AbstractMarkedWidgetModel
.-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.draw2d.Figure
org.eclipse.draw2d.Figure.FigureIterator, org.eclipse.draw2d.Figure.IdentitySearch, org.eclipse.draw2d.Figure.ReverseFigureChildrenIterator
Nested classes/interfaces inherited from interface org.eclipse.draw2d.IFigure
org.eclipse.draw2d.IFigure.NoInsets
-
Field Summary
Modifier and TypeFieldDescriptionprotected Color
protected Color
protected double
protected double
protected Color
protected double
protected Color
protected double
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
Fields inherited from class org.csstudio.swt.widgets.figures.AbstractScaledWidgetFigure
logScale, majorTickMarkStepHint, maximum, minimum, scale, showMinorTicks, showScale, transparent, value, valueLabelFormat
Fields inherited from class org.eclipse.draw2d.Figure
bgColor, border, bounds, fgColor, flags, font, MAX_FLAG, maxSize, minSize, NO_MANAGER, prefSize, toolTip
Fields inherited from interface org.eclipse.draw2d.IFigure
MAX_DIMENSION, MIN_DIMENSION, NO_INSETS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
double
double
double
boolean
isShowHi()
boolean
boolean
isShowLo()
boolean
boolean
void
setHiColor
(Color hiColor) void
setHihiColor
(Color hihiColor) void
setHihiLevel
(double hihiLevel) void
setHiLevel
(double hiLevel) void
setLoColor
(Color loColor) void
setLoLevel
(double loLevel) void
setLoloColor
(Color loloColor) void
setLoloLevel
(double loloLevel) void
setShowHi
(boolean showHi) void
setShowHihi
(boolean showHihi) void
setShowLo
(boolean showLo) void
setShowLolo
(boolean showLolo) void
setShowMarkers
(boolean showMarkers) Methods inherited from class org.csstudio.swt.widgets.figures.AbstractScaledWidgetFigure
getBeanInfo, getCoercedValue, getCoercedValue, getMajorTickMarkStepHint, getMaximum, getMinimum, getRange, getScale, getValue, getValueLabelFormat, getValueText, isLogScale, isOpaque, isShowMinorTicks, isShowScale, isTransparent, paintFigure, setLogScale, setMajorTickMarkStepHint, setRange, setRange, setScale, setShowMinorTicks, setShowScale, setTransparent, setValue, setValueLabelFormat
Methods 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, getChildrenRevIterable, getClientArea, getClientArea, getClippingStrategy, getCursor, getFlag, getFont, getForegroundColor, getInsets, getLayoutManager, getListeners, getListenersIterable, 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, optimizeClip, 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, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setValid, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, useLocalCoordinates, validate
-
Field Details
-
showMarkers
protected boolean showMarkers -
loloLevel
protected double loloLevel -
loLevel
protected double loLevel -
hiLevel
protected double hiLevel -
hihiLevel
protected double hihiLevel -
showLolo
protected boolean showLolo -
showLo
protected boolean showLo -
showHi
protected boolean showHi -
showHihi
protected boolean showHihi -
loloColor
-
loColor
-
hiColor
-
hihiColor
-
-
Constructor Details
-
AbstractMarkedWidgetFigure
public AbstractMarkedWidgetFigure()
-
-
Method Details
-
getHiColor
- Returns:
- the hiColor
-
getHihiColor
- Returns:
- the hihiColor
-
getHihiLevel
public double getHihiLevel()- Returns:
- the hihiLevel
-
getHiLevel
public double getHiLevel()- Returns:
- the hiLevel
-
getLoColor
- Returns:
- the loColor
-
getLoLevel
public double getLoLevel()- Returns:
- the loLevel
-
getLoloColor
- Returns:
- the loloColor
-
getLoloLevel
public double getLoloLevel()- Returns:
- the loloLevel
-
isShowHi
public boolean isShowHi()- Returns:
- the showHi
-
isShowHihi
public boolean isShowHihi()- Returns:
- the showHihi
-
isShowLo
public boolean isShowLo()- Returns:
- the showLo
-
isShowLolo
public boolean isShowLolo()- Returns:
- the showLolo
-
isShowMarkers
public boolean isShowMarkers()- Returns:
- the showMarkers
-
setHiColor
- Parameters:
hiColor
- the hiColor to set
-
setHihiColor
- Parameters:
hihiColor
- the hihiColor to set
-
setHihiLevel
public void setHihiLevel(double hihiLevel) - Parameters:
hihiLevel
- the hihiLevel to set
-
setHiLevel
public void setHiLevel(double hiLevel) - Parameters:
hiLevel
- the hiLevel to set
-
setLoColor
- Parameters:
loColor
- the loColor to set
-
setLoLevel
public void setLoLevel(double loLevel) - Parameters:
loLevel
- the loLevel to set
-
setLoloColor
- Parameters:
loloColor
- the loloColor to set
-
setLoloLevel
public void setLoloLevel(double loloLevel) - Parameters:
loloLevel
- the loloLevel to set
-
setShowHi
public void setShowHi(boolean showHi) - Parameters:
showHi
- the showHi to set
-
setShowHihi
public void setShowHihi(boolean showHihi) - Parameters:
showHihi
- the showHihi to set
-
setShowLo
public void setShowLo(boolean showLo) - Parameters:
showLo
- the showLo to set
-
setShowLolo
public void setShowLolo(boolean showLolo) - Parameters:
showLolo
- the showLolo to set
-
setShowMarkers
public void setShowMarkers(boolean showMarkers) - Parameters:
showMarkers
- the showMarkers to set
-