Class GroupInfoImpl
- java.lang.Object
-
- com.metsci.glimpse.core.plot.stacked.PlotInfoWrapper
-
- com.metsci.glimpse.core.plot.timeline.group.GroupInfoImpl
-
public class GroupInfoImpl extends PlotInfoWrapper implements GroupInfo
-
-
Field Summary
-
Fields inherited from class com.metsci.glimpse.core.plot.stacked.PlotInfoWrapper
info
-
-
Constructor Summary
Constructors Constructor Description GroupInfoImpl(CollapsibleTimePlot2D _plot, PlotInfo group, Collection<? extends PlotInfo> subplots)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChildPlot(PlotInfo childPlot)booleanequals(Object obj)Collection<PlotInfo>getChildPlots()float[]getDividerColor()StringgetLabelText()SimpleTextPaintergetTextPainter()inthashCode()booleanisCollapsible()booleanisExpanded()booleanisShowArrow()booleanisShowDivider()voidremoveChildPlot(PlotInfo childPlot)voidsetCollapsible(boolean collapsible)voidsetDividerColor(float[] color)voidsetExpanded(boolean expanded)voidsetLabelText(String label)voidsetShowArrow(boolean show)voidsetShowDivider(boolean show)-
Methods inherited from class com.metsci.glimpse.core.plot.stacked.PlotInfoWrapper
addLayout, deletePlot, getBaseLayout, getCommonAxis, getCommonAxis, getId, getIndentLevel, getLayout, getLayoutData, getOrder, getOrthogonalAxis, getOrthogonalAxis, getParent, getPlotSpacing, getSize, getStackedPlot, isGrow, isVisible, removePlot, setGrow, setIndentLevel, setLayoutData, setLookAndFeel, setOrder, setParent, setPlotSpacing, setSize, setVisible, updateLayout
-
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.metsci.glimpse.core.plot.stacked.PlotInfo
addLayout, deletePlot, getBaseLayout, getCommonAxis, getCommonAxis, getId, getIndentLevel, getLayout, getLayoutData, getOrder, getOrthogonalAxis, getOrthogonalAxis, getParent, getPlotSpacing, getSize, getStackedPlot, isGrow, isVisible, removePlot, setGrow, setIndentLevel, setLayoutData, setLookAndFeel, setOrder, setParent, setPlotSpacing, setSize, setVisible, updateLayout
-
-
-
-
Constructor Detail
-
GroupInfoImpl
public GroupInfoImpl(CollapsibleTimePlot2D _plot, PlotInfo group, Collection<? extends PlotInfo> subplots)
-
-
Method Detail
-
getTextPainter
public SimpleTextPainter getTextPainter()
- Specified by:
getTextPainterin interfaceGroupInfo
-
setShowArrow
public void setShowArrow(boolean show)
- Specified by:
setShowArrowin interfaceGroupInfo
-
isShowArrow
public boolean isShowArrow()
- Specified by:
isShowArrowin interfaceGroupInfo
-
setShowDivider
public void setShowDivider(boolean show)
- Specified by:
setShowDividerin interfaceGroupInfo
-
isShowDivider
public boolean isShowDivider()
- Specified by:
isShowDividerin interfaceGroupInfo
-
setDividerColor
public void setDividerColor(float[] color)
- Specified by:
setDividerColorin interfaceGroupInfo
-
getDividerColor
public float[] getDividerColor()
- Specified by:
getDividerColorin interfaceGroupInfo
-
isExpanded
public boolean isExpanded()
- Specified by:
isExpandedin interfaceGroupInfo- Specified by:
isExpandedin interfacePlotInfo- Overrides:
isExpandedin classPlotInfoWrapper
-
setExpanded
public void setExpanded(boolean expanded)
- Specified by:
setExpandedin interfaceGroupInfo
-
setCollapsible
public void setCollapsible(boolean collapsible)
- Specified by:
setCollapsiblein interfaceGroupInfo
-
isCollapsible
public boolean isCollapsible()
- Specified by:
isCollapsiblein interfaceGroupInfo
-
addChildPlot
public void addChildPlot(PlotInfo childPlot)
- Specified by:
addChildPlotin interfaceGroupInfo
-
removeChildPlot
public void removeChildPlot(PlotInfo childPlot)
- Specified by:
removeChildPlotin interfaceGroupInfo
-
getChildPlots
public Collection<PlotInfo> getChildPlots()
- Specified by:
getChildPlotsin interfaceGroupInfo
-
setLabelText
public void setLabelText(String label)
- Specified by:
setLabelTextin interfaceGroupInfo
-
getLabelText
public String getLabelText()
- Specified by:
getLabelTextin interfaceGroupInfo
-
-