Class AbstractMarkedWidgetFigure
java.lang.Object
org.eclipse.draw2d.Figure
org.eclipse.nebula.visualization.widgets.figures.AbstractScaledWidgetFigure
org.eclipse.nebula.visualization.widgets.figures.AbstractMarkedWidgetFigure
- All Implemented Interfaces:
org.eclipse.draw2d.IFigure
,Introspectable
- Direct Known Subclasses:
AbstractLinearMarkedFigure
,AbstractRoundRampedFigure
public abstract class AbstractMarkedWidgetFigure extends AbstractScaledWidgetFigure
Base figure for a widget based on
AbstractMarkedWidgetModel
.-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.swt.graphics.Color
hiColor
protected org.eclipse.swt.graphics.Color
hihiColor
protected double
hihiLevel
protected double
hiLevel
protected org.eclipse.swt.graphics.Color
loColor
protected double
loLevel
protected org.eclipse.swt.graphics.Color
loloColor
protected double
loloLevel
protected boolean
showHi
protected boolean
showHihi
protected boolean
showLo
protected boolean
showLolo
protected boolean
showMarkers
Fields 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 AbstractMarkedWidgetFigure()
-
Method Summary
Modifier and Type Method Description org.eclipse.swt.graphics.Color
getHiColor()
org.eclipse.swt.graphics.Color
getHihiColor()
double
getHihiLevel()
double
getHiLevel()
org.eclipse.swt.graphics.Color
getLoColor()
double
getLoLevel()
org.eclipse.swt.graphics.Color
getLoloColor()
double
getLoloLevel()
boolean
isShowHi()
boolean
isShowHihi()
boolean
isShowLo()
boolean
isShowLolo()
boolean
isShowMarkers()
void
setHiColor(org.eclipse.swt.graphics.Color hiColor)
void
setHihiColor(org.eclipse.swt.graphics.Color hihiColor)
void
setHihiLevel(double hihiLevel)
void
setHiLevel(double hiLevel)
void
setLoColor(org.eclipse.swt.graphics.Color loColor)
void
setLoLevel(double loLevel)
void
setLoloColor(org.eclipse.swt.graphics.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.eclipse.nebula.visualization.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, 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, 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
protected org.eclipse.swt.graphics.Color loloColor -
loColor
protected org.eclipse.swt.graphics.Color loColor -
hiColor
protected org.eclipse.swt.graphics.Color hiColor -
hihiColor
protected org.eclipse.swt.graphics.Color hihiColor
-
-
Constructor Details
-
AbstractMarkedWidgetFigure
public AbstractMarkedWidgetFigure()
-
-
Method Details
-
getHiColor
public org.eclipse.swt.graphics.Color getHiColor()- Returns:
- the hiColor
-
getHihiColor
public org.eclipse.swt.graphics.Color getHihiColor()- Returns:
- the hihiColor
-
getHihiLevel
public double getHihiLevel()- Returns:
- the hihiLevel
-
getHiLevel
public double getHiLevel()- Returns:
- the hiLevel
-
getLoColor
public org.eclipse.swt.graphics.Color getLoColor()- Returns:
- the loColor
-
getLoLevel
public double getLoLevel()- Returns:
- the loLevel
-
getLoloColor
public org.eclipse.swt.graphics.Color 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
public void setHiColor(org.eclipse.swt.graphics.Color hiColor)- Parameters:
hiColor
- the hiColor to set
-
setHihiColor
public void setHihiColor(org.eclipse.swt.graphics.Color hihiColor)- 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
public void setLoColor(org.eclipse.swt.graphics.Color loColor)- Parameters:
loColor
- the loColor to set
-
setLoLevel
public void setLoLevel(double loLevel)- Parameters:
loLevel
- the loLevel to set
-
setLoloColor
public void setLoloColor(org.eclipse.swt.graphics.Color loloColor)- 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
-