org.yawlfoundation.yawl.resourcing.jsf.dynform
Class DocComponent

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by com.sun.rave.web.ui.component.PanelLayoutBase
              extended by com.sun.rave.web.ui.component.PanelLayout
                  extended by org.yawlfoundation.yawl.resourcing.jsf.dynform.DocComponent
All Implemented Interfaces:
javax.faces.component.StateHolder

public class DocComponent
extends com.sun.rave.web.ui.component.PanelLayout

Author:
Michael Adams
Created/Last Date:
26/11/11

Field Summary
protected static int BTN_HSPACE
           
protected static int BTN_WIDTH
           
 
Fields inherited from class com.sun.rave.web.ui.component.PanelLayout
FLOW_LAYOUT, GRID_LAYOUT
 
Constructor Summary
DocComponent()
           
DocComponent(String id, String name, String panelID, com.sun.rave.web.ui.component.TextField field, boolean inputOnly)
           
 
Method Summary
 void completeUpload()
           
 String doUpload()
           
 String getCaseID()
           
 int getFormWidth()
           
 long getID()
           
 com.sun.rave.web.ui.component.Label getLabel()
           
 String getName()
           
 String getOutputXML()
           
 String processButtonAction(com.sun.rave.web.ui.component.Button btn)
           
 void setCaseID(String id)
           
 void setFormWidth(int width)
           
 void setID(long id)
           
 void setLabel(com.sun.rave.web.ui.component.Label l)
           
 void setName(String name)
           
 void setSubComponentStyles(int width)
           
 
Methods inherited from class com.sun.rave.web.ui.component.PanelLayout
getPanelLayout, setPanelLayout
 
Methods inherited from class com.sun.rave.web.ui.component.PanelLayoutBase
getFamily, getStyle, getStyleClass, isVisible, restoreState, saveState, setStyle, setStyleClass, setVisible
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BTN_HSPACE

protected static final int BTN_HSPACE
See Also:
Constant Field Values

BTN_WIDTH

protected static final int BTN_WIDTH
See Also:
Constant Field Values
Constructor Detail

DocComponent

public DocComponent()

DocComponent

public DocComponent(String id,
                    String name,
                    String panelID,
                    com.sun.rave.web.ui.component.TextField field,
                    boolean inputOnly)
Method Detail

setName

public void setName(String name)

getName

public String getName()

setID

public void setID(long id)

getID

public long getID()

setCaseID

public void setCaseID(String id)

getCaseID

public String getCaseID()

getLabel

public com.sun.rave.web.ui.component.Label getLabel()

setLabel

public void setLabel(com.sun.rave.web.ui.component.Label l)

getFormWidth

public int getFormWidth()

setFormWidth

public void setFormWidth(int width)

getOutputXML

public String getOutputXML()

setSubComponentStyles

public void setSubComponentStyles(int width)
Parameters:
width - the total width of the component

processButtonAction

public String processButtonAction(com.sun.rave.web.ui.component.Button btn)

doUpload

public String doUpload()

completeUpload

public void completeUpload()


Copyright © 2004-2012 The YAWL Foundation.