com.panayotis.gnuplot.plot
Class Page
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<Graph>
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
|
|
Constructor Summary |
Page()
Contruct a new blank page with one graph inside |
Page(boolean isGraph3D)
Contruct a new blank page with one graph inside |
| 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 |
NL
protected static final String NL
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
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.