Package org.csstudio.swt.widgets.figures
Class AbstractLinearMarkedFigure
java.lang.Object
org.eclipse.draw2d.Figure
org.csstudio.swt.widgets.figures.AbstractScaledWidgetFigure
org.csstudio.swt.widgets.figures.AbstractMarkedWidgetFigure
org.csstudio.swt.widgets.figures.AbstractLinearMarkedFigure
- All Implemented Interfaces:
Introspectable
,org.eclipse.draw2d.IFigure
- Direct Known Subclasses:
ProgressBarFigure
,ScaledSliderFigure
,TankFigure
,ThermometerFigure
Abstract linear marked figure. The figure also includes a scale. The marker and scale have been created in the
constructor.
-
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 org.eclipse.nebula.visualization.xygraph.linearscale.LinearScaledMarker
Fields inherited from class org.csstudio.swt.widgets.figures.AbstractMarkedWidgetFigure
hiColor, hihiColor, hihiLevel, hiLevel, loColor, loLevel, loloColor, loloLevel, showHi, showHihi, showLo, showLolo, showMarkers
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 TypeMethodDescriptionvoid
setHiColor
(Color color) void
setHihiColor
(Color color) void
setHihiLevel
(double hihiLevel) void
setHiLevel
(double hiLevel) void
setLoColor
(Color color) void
setLogScale
(boolean logScale) void
setLoLevel
(double loLevel) void
setLoloColor
(Color color) void
setLoloLevel
(double loloLevel) void
setRange
(double min, double max) set the range of the scalevoid
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.AbstractMarkedWidgetFigure
getHiColor, getHihiColor, getHihiLevel, getHiLevel, getLoColor, getLoLevel, getLoloColor, getLoloLevel, isShowHi, isShowHihi, isShowLo, isShowLolo, isShowMarkers
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, setMajorTickMarkStepHint, 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
-
marker
protected org.eclipse.nebula.visualization.xygraph.linearscale.LinearScaledMarker marker
-
-
Constructor Details
-
AbstractLinearMarkedFigure
public AbstractLinearMarkedFigure()
-
-
Method Details
-
setShowMarkers
public void setShowMarkers(boolean showMarkers) - Overrides:
setShowMarkers
in classAbstractMarkedWidgetFigure
- Parameters:
showMarkers
- the showMarkers to set
-
setLoloLevel
public void setLoloLevel(double loloLevel) - Overrides:
setLoloLevel
in classAbstractMarkedWidgetFigure
- Parameters:
loloLevel
- the loloLevel to set
-
setLoLevel
public void setLoLevel(double loLevel) - Overrides:
setLoLevel
in classAbstractMarkedWidgetFigure
- Parameters:
loLevel
- the loLevel to set
-
setHiLevel
public void setHiLevel(double hiLevel) - Overrides:
setHiLevel
in classAbstractMarkedWidgetFigure
- Parameters:
hiLevel
- the hiLevel to set
-
setHihiLevel
public void setHihiLevel(double hihiLevel) - Overrides:
setHihiLevel
in classAbstractMarkedWidgetFigure
- Parameters:
hihiLevel
- the hihiLevel to set
-
setShowLolo
public void setShowLolo(boolean showLolo) - Overrides:
setShowLolo
in classAbstractMarkedWidgetFigure
- Parameters:
showLolo
- the showLolo to set
-
setShowLo
public void setShowLo(boolean showLo) - Overrides:
setShowLo
in classAbstractMarkedWidgetFigure
- Parameters:
showLo
- the showLo to set
-
setShowHi
public void setShowHi(boolean showHi) - Overrides:
setShowHi
in classAbstractMarkedWidgetFigure
- Parameters:
showHi
- the showHi to set
-
setShowHihi
public void setShowHihi(boolean showHihi) - Overrides:
setShowHihi
in classAbstractMarkedWidgetFigure
- Parameters:
showHihi
- the showHihi to set
-
setLoloColor
- Overrides:
setLoloColor
in classAbstractMarkedWidgetFigure
- Parameters:
color
- the loloColor to set
-
setLoColor
- Overrides:
setLoColor
in classAbstractMarkedWidgetFigure
- Parameters:
color
- the loColor to set
-
setHiColor
- Overrides:
setHiColor
in classAbstractMarkedWidgetFigure
- Parameters:
color
- the hiColor to set
-
setHihiColor
- Overrides:
setHihiColor
in classAbstractMarkedWidgetFigure
- Parameters:
color
- the hihiColor to set
-
setRange
public void setRange(double min, double max) Description copied from class:AbstractScaledWidgetFigure
set the range of the scale- Overrides:
setRange
in classAbstractScaledWidgetFigure
-
setLogScale
public void setLogScale(boolean logScale) - Overrides:
setLogScale
in classAbstractScaledWidgetFigure
- Parameters:
logScale
- the logScale to set
-