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:
JavaFXParallelCoordinatesView
public abstract class AbstractParallelCoordinatesView<Component,Color,R,C>
extends 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
FieldsModifier and TypeFieldDescriptionstatic final Integer
Convenience object defining the Default layer.static final Integer
Convenience object defining the Drag layer.static final Integer
Convenience object defining the Modal layer.static final Integer
Convenience object defining the Palette layer.static final Integer
Convenience object defining the Popup layer.protected final MutableProperties<ParallelCoordinatesView.PropertyType>
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractParallelCoordinatesView
(com.macrofocus.igraphics.CPColorFactory<Color> factory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
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>
MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>>
Returns the color theme to use.MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering>
com.macrofocus.rubberband.RubberBand
void
headerSelected
(com.macrofocus.high_d.axis.AxisView view, int clickCount) void
void
void
setAllowScrolling
(MutableProperty<Boolean> allowScrolling) void
setColorTheme
(MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> colorTheme) Sets the color theme to use.void
setTooltip
(MutableProperty<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.CPComponent
setStyleClass
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 Details
-
properties
-
DEFAULT_LAYER
Convenience object defining the Default layer. Equivalent to Integer.valueOf(0). -
PALETTE_LAYER
Convenience object defining the Palette layer. Equivalent to Integer.valueOf(100). -
MODAL_LAYER
Convenience object defining the Modal layer. Equivalent to Integer.valueOf(200). -
POPUP_LAYER
Convenience object defining the Popup layer. Equivalent to Integer.valueOf(300). -
DRAG_LAYER
Convenience object defining the Drag layer. Equivalent to Integer.valueOf(400).
-
-
Constructor Details
-
AbstractParallelCoordinatesView
-
-
Method Details
-
getTooltip
- Specified by:
getTooltip
in interfaceParallelCoordinatesView<Component,
Color, R, C>
-
setTooltip
- Specified by:
setTooltip
in interfaceParallelCoordinatesView<Component,
Color, R, C>
-
addDragListener
- Specified by:
addDragListener
in interfaceParallelCoordinatesView<Component,
Color, R, C>
-
removeDragListener
- 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
- Specified by:
addHeaderListener
in interfaceParallelCoordinatesView<Component,
Color, R, C>
-
removeHeaderListener
- 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
- Specified by:
getShowFiltered
in interfaceParallelCoordinatesView<Component,
Color, R, C>
-
getRendering
- Specified by:
getRendering
in interfaceParallelCoordinatesView<Component,
Color, R, C>
-
getAntialiasing
- Specified by:
getAntialiasing
in interfaceParallelCoordinatesView<Component,
Color, R, C>
-
getAxisLine
- Specified by:
getAxisLine
in interfaceParallelCoordinatesView<Component,
Color, R, C>
-
getGeometry
- Specified by:
getGeometry
in interfaceParallelCoordinatesView<Component,
Color, R, C>
-
getAlignment
- Specified by:
getAlignment
in interfaceParallelCoordinatesView<Component,
Color, R, C>
-
getShowVisible
- Specified by:
getShowVisible
in interfaceParallelCoordinatesView<Component,
Color, R, C>
-
getColoredTransparency
- Specified by:
getColoredTransparency
in interfaceParallelCoordinatesView<Component,
Color, R, C>
-
getProbeFiltered
- Specified by:
getProbeFiltered
in interfaceParallelCoordinatesView<Component,
Color, R, C>
-
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
- Specified by:
getShowProbedValues
in interfaceParallelCoordinatesView<Component,
Color, R, C>
-
getColumnSize
- Specified by:
getColumnSize
in interfaceParallelCoordinatesView<Component,
Color, R, C>
-
getAllowScrolling
- Specified by:
getAllowScrolling
in interfaceParallelCoordinatesView<Component,
Color, R, C>
-
setAllowScrolling
- 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>
-