Class AbstractParallelCoordinatesView<Component,Color,R,C>
- java.lang.Object
-
- com.macrofocus.high_d.parallelcoordinates.AbstractParallelCoordinatesView<Component,Color,R,C>
-
- All Implemented Interfaces:
com.macrofocus.crossplatform.CPComponent<Component>,com.macrofocus.crossplatform.CPInteractiveComponent<Component>,ParallelCoordinatesView<Component,Color,R,C>
- Direct Known Subclasses:
SwingParallelCoordinatesView
public abstract class AbstractParallelCoordinatesView<Component,Color,R,C> extends java.lang.Object implements ParallelCoordinatesView<Component,Color,R,C>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.macrofocus.high_d.parallelcoordinates.ParallelCoordinatesView
ParallelCoordinatesView.DragListener, ParallelCoordinatesView.HeaderListener, ParallelCoordinatesView.PropertyType
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.IntegerDEFAULT_LAYERConvenience object defining the Default layer.static java.lang.IntegerDRAG_LAYERConvenience object defining the Drag layer.static java.lang.IntegerMODAL_LAYERConvenience object defining the Modal layer.static java.lang.IntegerPALETTE_LAYERConvenience object defining the Palette layer.static java.lang.IntegerPOPUP_LAYERConvenience object defining the Popup layer.protected MutableProperties<ParallelCoordinatesView.PropertyType>properties
-
Constructor Summary
Constructors Constructor Description AbstractParallelCoordinatesView(com.macrofocus.igraphics.CPColorFactory<Color> factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDragListener(ParallelCoordinatesView.DragListener listener)voidaddHeaderListener(ParallelCoordinatesView.HeaderListener listener)voiddragAxisTo(com.macrofocus.high_d.axis.AxisView view, int shift)Drag an axis with the specified offset.MutableProperty<com.macrofocus.high_d.axis.Alignment>getAlignment()MutableProperty<java.lang.Boolean>getAllowScrolling()MutableProperty<java.lang.Boolean>getAntialiasing()MutableProperty<java.lang.Boolean>getAxisLine()MutableProperty<java.lang.Float>getColoredTransparency()MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>>getColorTheme()Returns the color theme to use.MutableProperty<java.lang.Integer>getColumnSize()MutableProperty<Geometry>getGeometry()MutableProperty<java.lang.Boolean>getProbeFiltered()MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering>getRendering()com.macrofocus.rubberband.RubberBandgetRubberBand()MutableProperty<java.lang.Boolean>getShowFiltered()MutableProperty<java.lang.Boolean>getShowProbedValues()MutableProperty<java.lang.Boolean>getShowVisible()MutableProperty<java.lang.Boolean>getTooltip()voidheaderSelected(com.macrofocus.high_d.axis.AxisView view, int clickCount)voidremoveDragListener(ParallelCoordinatesView.DragListener listener)voidremoveHeaderListener(ParallelCoordinatesView.HeaderListener listener)voidsetAllowScrolling(MutableProperty<java.lang.Boolean> allowScrolling)voidsetColorTheme(MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> colorTheme)Sets the color theme to use.voidsetTooltip(MutableProperty<java.lang.Boolean> tooltip)voidstartDragging(com.macrofocus.high_d.axis.AxisView view)Start dragging an axis.voidstopDragging(com.macrofocus.high_d.axis.AxisView view)Stop dragging an axis.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.macrofocus.crossplatform.CPInteractiveComponent
addMouseListener, addMouseMotionListener, removeMouseListener, removeMouseMotionListener
-
Methods inherited from interface com.macrofocus.high_d.parallelcoordinates.ParallelCoordinatesView
getAxisGroupView, getAxisView, getAxisX, getClosestRow, getHeaderAxisGroupMaximumHeight, getHeaderAxisMaximumHeight, getHeight, getModel, getNativeComponent, getParallelCoordinatesLayout, getRows, getWidth, isSelectionMode, isShowTiming, setAntialiasing, setGeometry, setLicenseModel, setModel, setRendering, setSelectionMode, setShowFiltered, setShowTiming, waitUntilReady
-
-
-
-
Field Detail
-
properties
protected final MutableProperties<ParallelCoordinatesView.PropertyType> properties
-
DEFAULT_LAYER
public static final java.lang.Integer DEFAULT_LAYER
Convenience object defining the Default layer. Equivalent to new Integer(0).
-
PALETTE_LAYER
public static final java.lang.Integer PALETTE_LAYER
Convenience object defining the Palette layer. Equivalent to new Integer(100).
-
MODAL_LAYER
public static final java.lang.Integer MODAL_LAYER
Convenience object defining the Modal layer. Equivalent to new Integer(200).
-
POPUP_LAYER
public static final java.lang.Integer POPUP_LAYER
Convenience object defining the Popup layer. Equivalent to new Integer(300).
-
DRAG_LAYER
public static final java.lang.Integer DRAG_LAYER
Convenience object defining the Drag layer. Equivalent to new Integer(400).
-
-
Constructor Detail
-
AbstractParallelCoordinatesView
public AbstractParallelCoordinatesView(com.macrofocus.igraphics.CPColorFactory<Color> factory)
-
-
Method Detail
-
getTooltip
public MutableProperty<java.lang.Boolean> getTooltip()
- Specified by:
getTooltipin interfaceParallelCoordinatesView<Component,Color,R,C>
-
setTooltip
public void setTooltip(MutableProperty<java.lang.Boolean> tooltip)
- Specified by:
setTooltipin interfaceParallelCoordinatesView<Component,Color,R,C>
-
addDragListener
public void addDragListener(ParallelCoordinatesView.DragListener listener)
- Specified by:
addDragListenerin interfaceParallelCoordinatesView<Component,Color,R,C>
-
removeDragListener
public void removeDragListener(ParallelCoordinatesView.DragListener listener)
- Specified by:
removeDragListenerin interfaceParallelCoordinatesView<Component,Color,R,C>
-
startDragging
public void startDragging(com.macrofocus.high_d.axis.AxisView view)
Description copied from interface:ParallelCoordinatesViewStart dragging an axis.- Specified by:
startDraggingin interfaceParallelCoordinatesView<Component,Color,R,C>- Parameters:
view- the axis to drag
-
stopDragging
public void stopDragging(com.macrofocus.high_d.axis.AxisView view)
Description copied from interface:ParallelCoordinatesViewStop dragging an axis. This will usually trigger a layout of the parallel coordinates plot.- Specified by:
stopDraggingin interfaceParallelCoordinatesView<Component,Color,R,C>- Parameters:
view- the axis that has been dragged
-
dragAxisTo
public void dragAxisTo(com.macrofocus.high_d.axis.AxisView view, int shift)Description copied from interface:ParallelCoordinatesViewDrag an axis with the specified offset.- Specified by:
dragAxisToin interfaceParallelCoordinatesView<Component,Color,R,C>- Parameters:
view- the axisshift- the offset
-
addHeaderListener
public void addHeaderListener(ParallelCoordinatesView.HeaderListener listener)
- Specified by:
addHeaderListenerin interfaceParallelCoordinatesView<Component,Color,R,C>
-
removeHeaderListener
public void removeHeaderListener(ParallelCoordinatesView.HeaderListener listener)
- Specified by:
removeHeaderListenerin interfaceParallelCoordinatesView<Component,Color,R,C>
-
headerSelected
public void headerSelected(com.macrofocus.high_d.axis.AxisView view, int clickCount)- Specified by:
headerSelectedin interfaceParallelCoordinatesView<Component,Color,R,C>
-
getShowFiltered
public MutableProperty<java.lang.Boolean> getShowFiltered()
- Specified by:
getShowFilteredin interfaceParallelCoordinatesView<Component,Color,R,C>
-
getRendering
public MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering> getRendering()
- Specified by:
getRenderingin interfaceParallelCoordinatesView<Component,Color,R,C>
-
getAntialiasing
public MutableProperty<java.lang.Boolean> getAntialiasing()
- Specified by:
getAntialiasingin interfaceParallelCoordinatesView<Component,Color,R,C>
-
getAxisLine
public MutableProperty<java.lang.Boolean> getAxisLine()
- Specified by:
getAxisLinein interfaceParallelCoordinatesView<Component,Color,R,C>
-
getGeometry
public MutableProperty<Geometry> getGeometry()
- Specified by:
getGeometryin interfaceParallelCoordinatesView<Component,Color,R,C>
-
getAlignment
public MutableProperty<com.macrofocus.high_d.axis.Alignment> getAlignment()
- Specified by:
getAlignmentin interfaceParallelCoordinatesView<Component,Color,R,C>
-
getShowVisible
public MutableProperty<java.lang.Boolean> getShowVisible()
- Specified by:
getShowVisiblein interfaceParallelCoordinatesView<Component,Color,R,C>
-
getColoredTransparency
public MutableProperty<java.lang.Float> getColoredTransparency()
- Specified by:
getColoredTransparencyin interfaceParallelCoordinatesView<Component,Color,R,C>
-
getProbeFiltered
public MutableProperty<java.lang.Boolean> getProbeFiltered()
- Specified by:
getProbeFilteredin interfaceParallelCoordinatesView<Component,Color,R,C>
-
getColorTheme
public MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> getColorTheme()
Description copied from interface:ParallelCoordinatesViewReturns the color theme to use.- Specified by:
getColorThemein interfaceParallelCoordinatesView<Component,Color,R,C>- Returns:
- the color theme
-
setColorTheme
public void setColorTheme(MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> colorTheme)
Description copied from interface:ParallelCoordinatesViewSets the color theme to use.- Specified by:
setColorThemein interfaceParallelCoordinatesView<Component,Color,R,C>- Parameters:
colorTheme- the color theme to use
-
getShowProbedValues
public MutableProperty<java.lang.Boolean> getShowProbedValues()
- Specified by:
getShowProbedValuesin interfaceParallelCoordinatesView<Component,Color,R,C>
-
getColumnSize
public MutableProperty<java.lang.Integer> getColumnSize()
- Specified by:
getColumnSizein interfaceParallelCoordinatesView<Component,Color,R,C>
-
getAllowScrolling
public MutableProperty<java.lang.Boolean> getAllowScrolling()
- Specified by:
getAllowScrollingin interfaceParallelCoordinatesView<Component,Color,R,C>
-
setAllowScrolling
public void setAllowScrolling(MutableProperty<java.lang.Boolean> allowScrolling)
- Specified by:
setAllowScrollingin interfaceParallelCoordinatesView<Component,Color,R,C>
-
getRubberBand
public com.macrofocus.rubberband.RubberBand getRubberBand()
- Specified by:
getRubberBandin interfaceParallelCoordinatesView<Component,Color,R,C>
-
-