ewe.fx.print
Class PageFormatData

java.lang.Object
  extended byewe.data.DataObject
      extended byewe.data.LiveObject
          extended byewe.fx.print.PageFormatData
All Implemented Interfaces:
Comparable, Copyable, DataUnit, FieldListener, LiveData

public class PageFormatData
extends LiveObject


Field Summary
 double bottom
           
static int CUSTOM
           
 double height
           
 double left
           
static int LEGAL
           
static int LETTER
           
 double right
           
 boolean separateSizeAndMargins
           
 double top
           
 int type
           
 double width
           
 
Constructor Summary
PageFormatData()
           
 
Method Summary
 void addToPanel(CellPanel cp, Editor ed, int which)
          Override this to provide the user interface for editing the Object.
 PageFormat toPageFormat()
           
 void type_changed(Editor ed)
           
 
Methods inherited from class ewe.data.LiveObject
action, action, addMeToPanel, addObjectToPanel, decode, decoded, decodeFields, enableEditorScrolling, encode, encoded, encodeFields, fieldChanged, fieldChanged, fieldEvent, getEditor, getEditorScroller, getIcon, getName, input, makeNewEditor, runAsApp, textDecode, textEncode
 
Methods inherited from class ewe.data.DataObject
_getSetField, appendAllFields, compareTo, copied, copyFrom, equals, getCopy, getDeclaredField, getDeclaredFieldValue, getDeclaredFieldValue, getFieldList, getFieldList, getMyFieldList, getNew
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, toString
 
Methods inherited from interface ewe.data.DataUnit
copyFrom, getNew
 
Methods inherited from interface ewe.util.Copyable
getCopy
 
Methods inherited from interface ewe.util.Comparable
compareTo
 

Field Detail

LETTER

public static final int LETTER
See Also:
Constant Field Values

LEGAL

public static final int LEGAL
See Also:
Constant Field Values

CUSTOM

public static final int CUSTOM
See Also:
Constant Field Values

type

public int type

width

public double width

height

public double height

left

public double left

right

public double right

top

public double top

bottom

public double bottom

separateSizeAndMargins

public boolean separateSizeAndMargins
Constructor Detail

PageFormatData

public PageFormatData()
Method Detail

addToPanel

public void addToPanel(CellPanel cp,
                       Editor ed,
                       int which)
Description copied from class: LiveObject
Override this to provide the user interface for editing the Object. Add all your controls to the CellPanel cp, and your fields to the Editor ed. The options parameter may be used to specify a different Editor for the Object for different situations - it is the same parameter that is passed to the LiveData.getEditor(int options) call.

Overrides:
addToPanel in class LiveObject

type_changed

public void type_changed(Editor ed)

toPageFormat

public PageFormat toPageFormat()