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.Integer
DEFAULT_LAYER
Convenience object defining the Default layer.static java.lang.Integer
DRAG_LAYER
Convenience object defining the Drag layer.static java.lang.Integer
MODAL_LAYER
Convenience object defining the Modal layer.static java.lang.Integer
PALETTE_LAYER
Convenience object defining the Palette layer.static java.lang.Integer
POPUP_LAYER
Convenience 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 void
addDragListener(ParallelCoordinatesView.DragListener listener)
void
addHeaderListener(ParallelCoordinatesView.HeaderListener listener)
void
dragAxisTo(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.RubberBand
getRubberBand()
MutableProperty<java.lang.Boolean>
getShowFiltered()
MutableProperty<java.lang.Boolean>
getShowProbedValues()
MutableProperty<java.lang.Boolean>
getShowVisible()
MutableProperty<java.lang.Boolean>
getTooltip()
void
headerSelected(com.macrofocus.high_d.axis.AxisView view, int clickCount)
void
removeDragListener(ParallelCoordinatesView.DragListener listener)
void
removeHeaderListener(ParallelCoordinatesView.HeaderListener listener)
void
setAllowScrolling(MutableProperty<java.lang.Boolean> allowScrolling)
void
setColorTheme(MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> colorTheme)
Sets the color theme to use.void
setTooltip(MutableProperty<java.lang.Boolean> tooltip)
void
startDragging(com.macrofocus.high_d.axis.AxisView view)
Start dragging an axis.void
stopDragging(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:
getTooltip
in interfaceParallelCoordinatesView<Component,Color,R,C>
-
setTooltip
public void setTooltip(MutableProperty<java.lang.Boolean> tooltip)
- Specified by:
setTooltip
in interfaceParallelCoordinatesView<Component,Color,R,C>
-
addDragListener
public void addDragListener(ParallelCoordinatesView.DragListener listener)
- Specified by:
addDragListener
in interfaceParallelCoordinatesView<Component,Color,R,C>
-
removeDragListener
public void removeDragListener(ParallelCoordinatesView.DragListener listener)
- Specified by:
removeDragListener
in interfaceParallelCoordinatesView<Component,Color,R,C>
-
startDragging
public void startDragging(com.macrofocus.high_d.axis.AxisView view)
Description copied from interface:ParallelCoordinatesView
Start dragging an axis.- Specified by:
startDragging
in 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:ParallelCoordinatesView
Stop dragging an axis. This will usually trigger a layout of the parallel coordinates plot.- Specified by:
stopDragging
in 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:ParallelCoordinatesView
Drag an axis with the specified offset.- Specified by:
dragAxisTo
in interfaceParallelCoordinatesView<Component,Color,R,C>
- Parameters:
view
- the axisshift
- the offset
-
addHeaderListener
public void addHeaderListener(ParallelCoordinatesView.HeaderListener listener)
- Specified by:
addHeaderListener
in interfaceParallelCoordinatesView<Component,Color,R,C>
-
removeHeaderListener
public void removeHeaderListener(ParallelCoordinatesView.HeaderListener listener)
- Specified by:
removeHeaderListener
in interfaceParallelCoordinatesView<Component,Color,R,C>
-
headerSelected
public void headerSelected(com.macrofocus.high_d.axis.AxisView view, int clickCount)
- Specified by:
headerSelected
in interfaceParallelCoordinatesView<Component,Color,R,C>
-
getShowFiltered
public MutableProperty<java.lang.Boolean> getShowFiltered()
- Specified by:
getShowFiltered
in interfaceParallelCoordinatesView<Component,Color,R,C>
-
getRendering
public MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering> getRendering()
- Specified by:
getRendering
in interfaceParallelCoordinatesView<Component,Color,R,C>
-
getAntialiasing
public MutableProperty<java.lang.Boolean> getAntialiasing()
- Specified by:
getAntialiasing
in interfaceParallelCoordinatesView<Component,Color,R,C>
-
getAxisLine
public MutableProperty<java.lang.Boolean> getAxisLine()
- Specified by:
getAxisLine
in interfaceParallelCoordinatesView<Component,Color,R,C>
-
getGeometry
public MutableProperty<Geometry> getGeometry()
- Specified by:
getGeometry
in interfaceParallelCoordinatesView<Component,Color,R,C>
-
getAlignment
public MutableProperty<com.macrofocus.high_d.axis.Alignment> getAlignment()
- Specified by:
getAlignment
in interfaceParallelCoordinatesView<Component,Color,R,C>
-
getShowVisible
public MutableProperty<java.lang.Boolean> getShowVisible()
- Specified by:
getShowVisible
in interfaceParallelCoordinatesView<Component,Color,R,C>
-
getColoredTransparency
public MutableProperty<java.lang.Float> getColoredTransparency()
- Specified by:
getColoredTransparency
in interfaceParallelCoordinatesView<Component,Color,R,C>
-
getProbeFiltered
public MutableProperty<java.lang.Boolean> getProbeFiltered()
- Specified by:
getProbeFiltered
in interfaceParallelCoordinatesView<Component,Color,R,C>
-
getColorTheme
public MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> getColorTheme()
Description copied from interface:ParallelCoordinatesView
Returns the color theme to use.- Specified by:
getColorTheme
in 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:ParallelCoordinatesView
Sets the color theme to use.- Specified by:
setColorTheme
in interfaceParallelCoordinatesView<Component,Color,R,C>
- Parameters:
colorTheme
- the color theme to use
-
getShowProbedValues
public MutableProperty<java.lang.Boolean> getShowProbedValues()
- Specified by:
getShowProbedValues
in interfaceParallelCoordinatesView<Component,Color,R,C>
-
getColumnSize
public MutableProperty<java.lang.Integer> getColumnSize()
- Specified by:
getColumnSize
in interfaceParallelCoordinatesView<Component,Color,R,C>
-
getAllowScrolling
public MutableProperty<java.lang.Boolean> getAllowScrolling()
- Specified by:
getAllowScrolling
in interfaceParallelCoordinatesView<Component,Color,R,C>
-
setAllowScrolling
public void setAllowScrolling(MutableProperty<java.lang.Boolean> allowScrolling)
- Specified by:
setAllowScrolling
in interfaceParallelCoordinatesView<Component,Color,R,C>
-
getRubberBand
public com.macrofocus.rubberband.RubberBand getRubberBand()
- Specified by:
getRubberBand
in interfaceParallelCoordinatesView<Component,Color,R,C>
-
-