org.jclarion.clarion.print
Class AbstractElement

java.lang.Object
  extended by org.jclarion.clarion.print.AbstractElement
All Implemented Interfaces:
PrintElement
Direct Known Subclasses:
Bitmap, Box, Line, Text, TextArea

public abstract class AbstractElement
extends java.lang.Object
implements PrintElement


Field Summary
protected  ReportStatistic aggregate
           
protected  AbstractControl control
           
protected  int x1
           
protected  int x2
           
protected  int y1
           
protected  int y2
           
 
Constructor Summary
AbstractElement(AbstractControl control, int x1, int y1, int x2, int y2, boolean normalize)
           
 
Method Summary
 boolean contains(ClarionObject object)
           
 ReportStatistic getAggregate()
           
 java.awt.Rectangle getPreferredDimensions(Page r, PrintContext c)
           
 boolean isResize()
           
 void setAggregate(ReportStatistic aggregate)
           
 void update(Page page)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jclarion.clarion.print.PrintElement
paint
 

Field Detail

control

protected AbstractControl control

aggregate

protected ReportStatistic aggregate

x1

protected int x1

y1

protected int y1

x2

protected int x2

y2

protected int y2
Constructor Detail

AbstractElement

public AbstractElement(AbstractControl control,
                       int x1,
                       int y1,
                       int x2,
                       int y2,
                       boolean normalize)
Method Detail

getPreferredDimensions

public java.awt.Rectangle getPreferredDimensions(Page r,
                                                 PrintContext c)
Specified by:
getPreferredDimensions in interface PrintElement

update

public void update(Page page)
Specified by:
update in interface PrintElement

contains

public boolean contains(ClarionObject object)
Specified by:
contains in interface PrintElement

getAggregate

public ReportStatistic getAggregate()

setAggregate

public void setAggregate(ReportStatistic aggregate)

isResize

public boolean isResize()
Specified by:
isResize in interface PrintElement


Copyright © 2010. All Rights Reserved.