Class CollapsibleTimePlot2D
- java.lang.Object
-
- com.metsci.glimpse.core.layout.GlimpseLayout
-
- com.metsci.glimpse.core.plot.stacked.StackedPlot2D
-
- com.metsci.glimpse.core.plot.timeline.StackedTimePlot2D
-
- com.metsci.glimpse.core.plot.timeline.CollapsibleTimePlot2D
-
- All Implemented Interfaces:
GlimpseTarget,GlimpseKeyListener,Keyable,GlimpseMouseListener,GlimpseMouseMotionListener,GlimpseMouseWheelListener,Mouseable,GlimpsePainter
public class CollapsibleTimePlot2D extends StackedTimePlot2D
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.metsci.glimpse.core.plot.stacked.StackedPlot2D
StackedPlot2D.Orientation
-
-
Field Summary
-
Fields inherited from class com.metsci.glimpse.core.plot.timeline.StackedTimePlot2D
CURRENT_TIME, MAX_TIME, MIN_TIME
-
-
Constructor Summary
Constructors Constructor Description CollapsibleTimePlot2D()CollapsibleTimePlot2D(Epoch epoch)CollapsibleTimePlot2D(Epoch epoch, TaggedAxis1D commonAxis)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupInfocreateGroup(PlotInfo... subplots)Create a collapsible/expandable group of plots.GroupInfocreateGroup(Object id, PlotInfo... subplots)GroupInfocreateGroup(Object id, Collection<? extends PlotInfo> subplots)Collection<GroupInfo>getAllGroups()GroupInfogetGroupById(Object groupId)intgetIndentSize()intgetMaxLevel()intgetOverlayLayoutOffsetX()intgetOverlayLayoutOffsetY2()List<PlotInfo>getUngroupedPlots()booleanisIndentSubplots()voidsetIndentSize(int size)voidsetIndentSubplots(boolean indent)voidvalidateLayout()-
Methods inherited from class com.metsci.glimpse.core.plot.timeline.StackedTimePlot2D
addPlotMouseListener, createEventPlot, createEventPlot, createPlot, createTimeline, createTimeline, createTimePlot, createTimePlot, createTimePlot, fromTimeStamp, getAllTimePlots, getDefaultTimeline, getEpoch, getEventPlot, getEventSelectionHander, getFullOverlayLayout, getLabelSize, getOverlayLayout, getSelectedPlot, getSelectedTimePainter, getTextureAtlas, getTime, getTimeAxis, getTimeAxisLabelHandler, getTimeAxisMouseListener, getTimeline, getTimePlot, getTimeSelection, getTimeSelectionMax, getTimeSelectionMaxTag, getTimeSelectionMin, getTimeSelectionMinTag, getTimeSelectionTag, getTooltipPainter, getUnderlayLayout, isCurrentTimeLocked, isLocked, isSelectionLocked, isShowLabels, isShowTimeline, isTimeAxisHorizontal, pushLayoutTargetStack, pushPlotTargetStack, removePlotMouseListener, setAllowDragResizeLabel, setAllowPanX, setAllowPanY, setAllowSelectionLock, setAllowZoomX, setAllowZoomY, setCurrentTimeLocked, setEpoch, setLabelSize, setPlotSpacing, setSelectedPlot, setSelectedPlot, setSelectionLocked, setShowLabels, setShowTimeline, setTimeAxisBounds, setTimeAxisLabelHandler, setTimeAxisMouseListener, setTimeSelection, setTimeSelection, shiftTimeAxisBounds, shiftTimeSelection, showLabels, toTimeStamp
-
Methods inherited from class com.metsci.glimpse.core.plot.stacked.StackedPlot2D
addPlot, createPlot, createPlot, deletePlot, getAllPlots, getBackgroundColor, getBorderSize, getCommonAxis, getCommonAxis, getLayoutManager, getOrientation, getOrthogonalAxis, getOverlayLayoutOffsetX2, getOverlayLayoutOffsetY, getPlot, getPlotSpacing, getSortedPlots, isAutoValidate, removePlot, setAutoValidate, setBackgroundColor, setBorderSize, setLookAndFeel, toString, validate, validateAxes
-
Methods inherited from class com.metsci.glimpse.core.layout.GlimpseLayout
addGlimpseKeyListener, addGlimpseMouseAllListener, addGlimpseMouseListener, addGlimpseMouseMotionListener, addGlimpseMouseWheelListener, addLayout, addLayout, addLayout, addLayout, addLayout, addPainter, addPainter, addPainter, addPainter, addPainter, addPainter, dispose, getGlimpseKeyListeners, getGlimpseMouseListeners, getGlimpseMouseMotionListeners, getGlimpseMouseWheelListeners, getLayoutByKey, getLock, getName, getPainterByKey, getTargetBounds, getTargetChildren, invalidateLayout, isDisposed, isEventConsumer, isEventGenerator, isVisible, keyPressed, keyReleased, layoutTo, layoutTo, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, paintTo, removeAll, removeAllGlimpseListeners, removeAllLayouts, removeGlimpseKeyListener, removeGlimpseMouseAllListener, removeGlimpseMouseListener, removeGlimpseMouseMotionListener, removeGlimpseMouseWheelListener, removeLayout, removeLayoutByKey, removePainter, removePainterByKey, setEventConsumer, setEventGenerator, setLayoutData, setLayoutManager, setName, setVisible, setZOrder, setZOrder
-
-
-
-
Constructor Detail
-
CollapsibleTimePlot2D
public CollapsibleTimePlot2D()
-
CollapsibleTimePlot2D
public CollapsibleTimePlot2D(Epoch epoch)
-
CollapsibleTimePlot2D
public CollapsibleTimePlot2D(Epoch epoch, TaggedAxis1D commonAxis)
-
-
Method Detail
-
isIndentSubplots
public boolean isIndentSubplots()
-
setIndentSubplots
public void setIndentSubplots(boolean indent)
-
setIndentSize
public void setIndentSize(int size)
-
getIndentSize
public int getIndentSize()
-
createGroup
public GroupInfo createGroup(PlotInfo... subplots)
Create a collapsible/expandable group of plots.
-
createGroup
public GroupInfo createGroup(Object id, Collection<? extends PlotInfo> subplots)
-
getAllGroups
public Collection<GroupInfo> getAllGroups()
-
getMaxLevel
public int getMaxLevel()
-
validateLayout
public void validateLayout()
- Overrides:
validateLayoutin classStackedPlot2D
-
getOverlayLayoutOffsetX
public int getOverlayLayoutOffsetX()
- Overrides:
getOverlayLayoutOffsetXin classStackedTimePlot2D
-
getOverlayLayoutOffsetY2
public int getOverlayLayoutOffsetY2()
- Overrides:
getOverlayLayoutOffsetY2in classStackedTimePlot2D
-
-