fi.hut.tml.xsmiles.mlfc.xslfo.form
Class FormWidgetArea

java.lang.Object
  extended byorg.apache.fop.layout.Box
      extended byorg.apache.fop.layout.Area
          extended byfi.hut.tml.xsmiles.mlfc.xslfo.form.FormWidgetArea

public class FormWidgetArea
extends org.apache.fop.layout.Area

The superclass for all form widgets (inputs, buttons, textareas...) in the Area Tree.

Version:
$Revision: 3612 $
Author:
Mikko Honkala

Field Summary
protected  java.awt.Component myComponent
           
protected  FormElement myElement
           
 
Fields inherited from class org.apache.fop.layout.Area
allocationWidth, areaClass, backgroundColor, bp, children, contentRectangleWidth, currentHeight, foCreator, fontState, generatedBy, isFirst, isLast, markers, maxHeight, page, returnedBy, tableCellXOffset
 
Fields inherited from class org.apache.fop.layout.Box
areaTree, parent
 
Constructor Summary
FormWidgetArea(FormElement elem, org.apache.fop.layout.FontState fontState, int allocationWidth, int maxHeight)
           
 
Method Summary
static FormWidgetArea createWidgetArea(FormElement elem)
           
 java.awt.Component getComponent()
           
 VisualComponentService getExtension()
           
 FormElement getFormElement()
           
 void render(org.apache.fop.render.Renderer renderer)
           
 void setComponent(java.awt.Component comp)
           
 void setFormElement(FormElement elem)
           
 
Methods inherited from class org.apache.fop.layout.Area
addChild, addChildAtStart, addDisplaySpace, addInlineSpace, addLineagePair, addMarker, addMarkers, end, getAbsoluteHeight, getAllocationWidth, getBackgroundColor, getBorderAndPadding, getBorderBottomWidth, getBorderLeftWidth, getBorderRightWidth, getBorderTopWidth, getChildren, getContentHeight, getContentWidth, getfoCreator, getFontInfo, getFontState, getGeneratedBy, getHeight, getIDReferences, getMarkers, getMaxHeight, getNearestAncestorAreaContainer, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPage, getParent, getTableCellXOffset, hasChildren, increaseAbsoluteHeight, increaseHeight, isFirst, isFirst, isLast, isLast, remove, removeChild, removeChild, setAbsoluteHeight, setAllocationWidth, setBackgroundColor, setBorderAndPadding, setGeneratedBy, setHeight, setIDReferences, setMaxHeight, setPage, setParent, setTableCellXOffset, spaceLeft, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myElement

protected FormElement myElement

myComponent

protected java.awt.Component myComponent
Constructor Detail

FormWidgetArea

public FormWidgetArea(FormElement elem,
                      org.apache.fop.layout.FontState fontState,
                      int allocationWidth,
                      int maxHeight)
Method Detail

render

public void render(org.apache.fop.render.Renderer renderer)

createWidgetArea

public static FormWidgetArea createWidgetArea(FormElement elem)

getFormElement

public FormElement getFormElement()

setFormElement

public void setFormElement(FormElement elem)

getComponent

public java.awt.Component getComponent()

getExtension

public VisualComponentService getExtension()

setComponent

public void setComponent(java.awt.Component comp)


X-Smiles 1.2