Interface ParallelCoordinatesView<Component,Color,Row,Column>
- All Superinterfaces:
com.macrofocus.crossplatform.CPComponent<Component>
,com.macrofocus.crossplatform.CPInteractiveComponent<Component>
- All Known Implementing Classes:
AbstractParallelCoordinatesView
,JavaFXParallelCoordinatesView
public interface ParallelCoordinatesView<Component,Color,Row,Column>
extends com.macrofocus.crossplatform.CPInteractiveComponent<Component>
Main class for the view part of ParallelCoordinates.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
static interface
static enum
-
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>
com.macrofocus.high_d.axis.group.AxisGroupView
getAxisGroupView
(com.macrofocus.high_d.axis.group.AxisGroupModel axisGroup) com.macrofocus.high_d.axis.AxisView
getAxisView
(com.macrofocus.high_d.axis.AxisModel axisModel) Gets the view associated with a given axis.int
getAxisX
(com.macrofocus.high_d.axis.group.AxisGroupModel axisGroup, com.macrofocus.high_d.axis.AxisModel axisModel) Gets the position along the X axis of an axis.getClosestRow
(int x, int y) MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>>
Returns the color theme to use.int
int
int
getModel()
Returns the ParallelCoordinatesModel that provides the data displayed by this ParallelCoordinatesView.Returns the class responsible for laying out the components of the parallel coordinates plot.MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering>
getRows
(com.macrofocus.geom.Rectangle2D rect) Returns the nodes overlapping the specified rectangle.com.macrofocus.rubberband.RubberBand
int
getWidth()
void
headerSelected
(com.macrofocus.high_d.axis.AxisView view, int clickCount) boolean
boolean
Returns whether information about refresh rate should be displayed.void
void
void
setAllowScrolling
(MutableProperty<Boolean> allowScrolling) void
setAntialiasing
(MutableProperty<Boolean> antialiasing) void
setColorTheme
(MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> colorTheme) Sets the color theme to use.void
setGeometry
(MutableProperty<Geometry> geometry) void
setLicenseModel
(LicenseModel licenseModel) void
setModel
(ParallelCoordinatesModel model) Sets the data model and registers with it for listener notifications from the new data model.void
setRendering
(MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering> rendering) void
setSelectionMode
(boolean value) void
setShowFiltered
(MutableProperty<Boolean> showFiltered) void
setShowTiming
(boolean showTiming) Sets whether information about refresh rate should be displayed.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.void
Wait until the parallel coordinates plot has been fully rendered.Methods inherited from interface com.macrofocus.crossplatform.CPComponent
setStyleClass
Methods inherited from interface com.macrofocus.crossplatform.CPInteractiveComponent
addMouseListener, addMouseMotionListener, removeMouseListener, removeMouseMotionListener
-
Method Details
-
getColumnSize
MutableProperty<Integer> getColumnSize() -
getNativeComponent
Component getNativeComponent()- Specified by:
getNativeComponent
in interfacecom.macrofocus.crossplatform.CPComponent<Component>
-
getClosestRow
-
getRows
Returns the nodes overlapping the specified rectangle.- Parameters:
rect
- the rectangle in screen coordinates- Returns:
- the list of nodes
-
getRubberBand
com.macrofocus.rubberband.RubberBand getRubberBand() -
isSelectionMode
boolean isSelectionMode() -
setSelectionMode
void setSelectionMode(boolean value) -
getWidth
int getWidth() -
getHeight
int getHeight() -
getAlignment
MutableProperty<com.macrofocus.high_d.axis.Alignment> getAlignment() -
getShowVisible
MutableProperty<Boolean> getShowVisible() -
getColoredTransparency
MutableProperty<Float> getColoredTransparency() -
getProbeFiltered
MutableProperty<Boolean> getProbeFiltered() -
getAllowScrolling
MutableProperty<Boolean> getAllowScrolling() -
isShowTiming
boolean isShowTiming()Returns whether information about refresh rate should be displayed.- Returns:
- true to display refresh rate information, false otherwise
-
setShowTiming
void setShowTiming(boolean showTiming) Sets whether information about refresh rate should be displayed.- Parameters:
showTiming
- true to display refresh rate information, false otherwise
-
getAxisGroupView
com.macrofocus.high_d.axis.group.AxisGroupView getAxisGroupView(com.macrofocus.high_d.axis.group.AxisGroupModel axisGroup) -
getAxisView
com.macrofocus.high_d.axis.AxisView getAxisView(com.macrofocus.high_d.axis.AxisModel axisModel) Gets the view associated with a given axis.- Parameters:
axisModel
- the axis- Returns:
-
setLicenseModel
-
setModel
Sets the data model and registers with it for listener notifications from the new data model.- Parameters:
model
- the new data model- See Also:
-
getModel
ParallelCoordinatesModel<Color,Row, getModel()Column> Returns the ParallelCoordinatesModel that provides the data displayed by this ParallelCoordinatesView.- Returns:
- the ParallelCoordinatesModel that provides the data displayed by this ParallelCoordinatesView
- See Also:
-
startDragging
void startDragging(com.macrofocus.high_d.axis.AxisView view) Start dragging an axis.- Parameters:
view
- the axis to drag
-
stopDragging
void stopDragging(com.macrofocus.high_d.axis.AxisView view) Stop dragging an axis. This will usually trigger a layout of the parallel coordinates plot.- Parameters:
view
- the axis that has been dragged
-
dragAxisTo
void dragAxisTo(com.macrofocus.high_d.axis.AxisView view, int shift) Drag an axis with the specified offset.- Parameters:
view
- the axisshift
- the offset
-
headerSelected
void headerSelected(com.macrofocus.high_d.axis.AxisView view, int clickCount) -
getColorTheme
MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> getColorTheme()Returns the color theme to use.- Returns:
- the color theme
-
setColorTheme
void setColorTheme(MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> colorTheme) Sets the color theme to use.- Parameters:
colorTheme
- the color theme to use
-
waitUntilReady
void waitUntilReady()Wait until the parallel coordinates plot has been fully rendered. -
getHeaderAxisGroupMaximumHeight
int getHeaderAxisGroupMaximumHeight() -
getHeaderAxisMaximumHeight
int getHeaderAxisMaximumHeight() -
getParallelCoordinatesLayout
ParallelCoordinatesLayout getParallelCoordinatesLayout()Returns the class responsible for laying out the components of the parallel coordinates plot.- Returns:
- the layout engine
-
getAxisX
int getAxisX(com.macrofocus.high_d.axis.group.AxisGroupModel axisGroup, com.macrofocus.high_d.axis.AxisModel axisModel) Gets the position along the X axis of an axis.- Parameters:
axisModel
- the axis- Returns:
- its position along the X axis
-
getShowFiltered
MutableProperty<Boolean> getShowFiltered() -
setShowFiltered
-
getRendering
MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering> getRendering() -
setRendering
-
getAntialiasing
MutableProperty<Boolean> getAntialiasing() -
setAntialiasing
-
getAxisLine
MutableProperty<Boolean> getAxisLine() -
getGeometry
MutableProperty<Geometry> getGeometry() -
setGeometry
-
getTooltip
MutableProperty<Boolean> getTooltip() -
setTooltip
-
getShowProbedValues
MutableProperty<Boolean> getShowProbedValues() -
setAllowScrolling
-
addDragListener
-
removeDragListener
-
addHeaderListener
-
removeHeaderListener
-