com.panayotis.gnuplot.plot
Class Page

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<Graph>
              extended by com.panayotis.gnuplot.plot.Page
All Implemented Interfaces:
Serializable, Cloneable, Iterable<Graph>, Collection<Graph>, List<Graph>, RandomAccess

public class Page
extends ArrayList<Graph>

The data representation of a whole graph page

Author:
teras
See Also:
Serialized Form

Field Summary
protected static String NL
           
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
Page()
          Contruct a new blank page with one graph inside
Page(boolean isGraph3D)
          Contruct a new blank page with one graph inside
 
Method Summary
 void getGNUPlotPage(StringBuffer bf)
          Append the GNUPlot program which will construct this page, to a buffer.
 GraphLayout getLayout()
          Get a reference for this page layout
 Object getTitle()
          Get the title of this page
 void setLayout(GraphLayout layout)
           
 void setTitle(String title)
          Set the title of this page
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Field Detail

NL

protected static final String NL
Constructor Detail

Page

public Page()
Contruct a new blank page with one graph inside


Page

public Page(boolean isGraph3D)
Contruct a new blank page with one graph inside

Parameters:
isGraph3D - true, if this graph is a 3D plot
Method Detail

getLayout

public GraphLayout getLayout()
Get a reference for this page layout

Returns:
the layout used in this page

setLayout

public void setLayout(GraphLayout layout)

getTitle

public Object getTitle()
Get the title of this page

Returns:
page title

setTitle

public void setTitle(String title)
Set the title of this page

Parameters:
title - the new page title

getGNUPlotPage

public void getGNUPlotPage(StringBuffer bf)
Append the GNUPlot program which will construct this page, to a buffer.

Parameters:
bf - Buffer to store the gnuplot program


Copyright © 2013. All Rights Reserved.