com.metsci.glimpse.plot
Class StackedPlot2D

java.lang.Object
  extended by com.metsci.glimpse.layout.GlimpseLayout
      extended by com.metsci.glimpse.plot.StackedPlot2D
All Implemented Interfaces:
GlimpseTarget, GlimpseMouseListener, GlimpseMouseMotionListener, GlimpseMouseWheelListener, Mouseable, GlimpsePainter

public class StackedPlot2D
extends GlimpseLayout

A plot which allows multiple plots or GlimpseLayout areas to be easily arranged in a vertical or horizontal stack.

Author:
ulman

Nested Class Summary
static class StackedPlot2D.Orientation
           
static interface StackedPlot2D.PlotInfo
           
static class StackedPlot2D.PlotInfoImpl
           
 
Constructor Summary
StackedPlot2D()
           
StackedPlot2D(StackedPlot2D.Orientation orientation)
           
 
Method Summary
 StackedPlot2D.PlotInfo createPlot(java.lang.String name)
           
 StackedPlot2D.PlotInfo createPlot(java.lang.String name, Axis1D axis)
           
 void deletePlot(java.lang.String name)
           
 java.util.Collection<StackedPlot2D.PlotInfo> getAllPlots()
           
 Axis1D getCommonAxis()
           
 StackedPlot2D.Orientation getOrientation()
           
 StackedPlot2D.PlotInfo getPlot(java.lang.String name)
           
 void setBackgroundColor(float[] color)
           
 void setBorderSize(int size)
           
 java.lang.String toString()
           
 void validate()
           
 
Methods inherited from class com.metsci.glimpse.layout.GlimpseLayout
addGlimpseMouseAllListener, addGlimpseMouseListener, addGlimpseMouseMotionListener, addGlimpseMouseWheelListener, addLayout, addLayout, addPainter, addPainter, dispose, getGlimpseMouseListeners, getGlimpseMouseMotionListeners, getGlimpseMouseWheelListeners, getLayoutManager, getName, getTargetBounds, getTargetChildren, invalidateLayout, isDisposed, isEventConsumer, isEventGenerator, isVisible, layoutTo, layoutTo, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, paintTo, removeAllGlimpseListeners, removeGlimpseMouseAllListener, removeGlimpseMouseListener, removeGlimpseMouseMotionListener, removeGlimpseMouseWheelListener, removeLayout, removePainter, setEventConsumer, setEventGenerator, setLayoutData, setLayoutManager, setLookAndFeel, setName, setVisible
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StackedPlot2D

public StackedPlot2D(StackedPlot2D.Orientation orientation)

StackedPlot2D

public StackedPlot2D()
Method Detail

getOrientation

public StackedPlot2D.Orientation getOrientation()

getCommonAxis

public Axis1D getCommonAxis()

getPlot

public StackedPlot2D.PlotInfo getPlot(java.lang.String name)

getAllPlots

public java.util.Collection<StackedPlot2D.PlotInfo> getAllPlots()

setBackgroundColor

public void setBackgroundColor(float[] color)

setBorderSize

public void setBorderSize(int size)

validate

public void validate()

deletePlot

public void deletePlot(java.lang.String name)

createPlot

public StackedPlot2D.PlotInfo createPlot(java.lang.String name)

createPlot

public StackedPlot2D.PlotInfo createPlot(java.lang.String name,
                                         Axis1D axis)

toString

public java.lang.String toString()
Overrides:
toString in class GlimpseLayout


Copyright © 2012 Metron, Inc.. All Rights Reserved.