de.jaret.util.ui.timebars
Class ViewConfiguration

java.lang.Object
  extended by de.jaret.util.ui.timebars.ViewConfiguration

public class ViewConfiguration
extends java.lang.Object

Configuration information for printing the model of a timebarviewer.

Version:
$Id: ViewConfiguration.java 800 2008-12-27 22:27:33Z kliem $
Author:
Peter Kliem

Constructor Summary
ViewConfiguration()
           
 
Method Summary
 de.jaret.util.date.JaretDate getEndDate()
          Retrieve the end date for parinting.
 java.lang.String getFootLine()
           
 java.lang.String getName()
          Retrieve the name of the viewconfiguraion.
 boolean getRepeatScale()
           
 boolean getRepeatYAxis()
           
 int getSecondsPerPage()
          Retrieve the number of seconds that shoul dbe printed on the first page.
 de.jaret.util.date.JaretDate getStartDate()
           
 void setEndDate(de.jaret.util.date.JaretDate endDate)
          Set the end date of the region to print.
 void setFootLine(java.lang.String footLine)
           
 void setName(java.lang.String name)
          Set the name of the view configuration.
 void setRepeatScale(boolean repeatScale)
           
 void setRepeatYAxis(boolean repeatYAxis)
           
 void setSecondsPerPage(int secondsPerPage)
          The seconds per page determine the scale of the print.
 void setStartDate(de.jaret.util.date.JaretDate startDate)
          Set the start date of the region to print.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewConfiguration

public ViewConfiguration()
Method Detail

getName

public java.lang.String getName()
Retrieve the name of the viewconfiguraion. The name will be used as the name of the print job (if set).

Returns:
name of the vc

setName

public void setName(java.lang.String name)
Set the name of the view configuration. The name will be used as the name of the print job (if set).

Parameters:
name - The name to set.

getSecondsPerPage

public int getSecondsPerPage()
Retrieve the number of seconds that shoul dbe printed on the first page.

Returns:
number of seconds to be printed on the first page.

setSecondsPerPage

public void setSecondsPerPage(int secondsPerPage)
The seconds per page determine the scale of the print. The value denotes the number of seconds on the first page (the page that includes the yaxis). On subsequent pages without y axis (if repeatYAxis is set to false) there will be more seconds on a page.

Parameters:
secondsPerPage - seconds to print on the first page

getStartDate

public de.jaret.util.date.JaretDate getStartDate()
Returns:
Returns the startDate.

setStartDate

public void setStartDate(de.jaret.util.date.JaretDate startDate)
Set the start date of the region to print.

Parameters:
startDate - The startDate to set.

getEndDate

public de.jaret.util.date.JaretDate getEndDate()
Retrieve the end date for parinting.

Returns:
Returns the endDate or null for printing to the end of available data

setEndDate

public void setEndDate(de.jaret.util.date.JaretDate endDate)
Set the end date of the region to print.

Parameters:
endDate - The endDate to set or null for printing to the end of available data

getFootLine

public java.lang.String getFootLine()
Returns:
Returns the footLine.

setFootLine

public void setFootLine(java.lang.String footLine)
Parameters:
footLine - The footLine to set.

getRepeatScale

public boolean getRepeatScale()
Returns:
Returns the repeatScale.

setRepeatScale

public void setRepeatScale(boolean repeatScale)
Parameters:
repeatScale - The repeatScale to set.

getRepeatYAxis

public boolean getRepeatYAxis()
Returns:
Returns the repeatYAxis.

setRepeatYAxis

public void setRepeatYAxis(boolean repeatYAxis)
Parameters:
repeatYAxis - The repeatYAxis to set.


Copyright © 2012. All Rights Reserved.