com.icesoft.pdf.ri.common
Class ViewModel

java.lang.Object
  extended bycom.icesoft.pdf.ri.common.ViewModel

public class ViewModel
extends Object

Data model for the view, which maintains state on how a Document is being presented to the user.

Since:
2.0
Author:
Mark Collette

Constructor Summary
ViewModel()
           
 
Method Summary
static String getDefaultFilePath()
           
static String getDefaultURL()
           
 PageFormat getPageFormat()
           
 PrinterJob getPrinterJob()
          Gets the current PrinterJob object.
static void setDefaultFilePath(String defFilePath)
           
static void setDefaultURL(String defURL)
           
 void setPageFormat(PageFormat pf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewModel

public ViewModel()
Method Detail

getDefaultFilePath

public static String getDefaultFilePath()

getDefaultURL

public static String getDefaultURL()

setDefaultFilePath

public static void setDefaultFilePath(String defFilePath)

setDefaultURL

public static void setDefaultURL(String defURL)

getPageFormat

public PageFormat getPageFormat()

setPageFormat

public void setPageFormat(PageFormat pf)

getPrinterJob

public PrinterJob getPrinterJob()
Gets the current PrinterJob object.

Returns:
view model's current PrinterJob object.