Adempiere 3.5.2a

org.compiere.www
Class WebField

java.lang.Object
  extended by org.compiere.www.WebField

public class WebField
extends Object

Web Field.

Version:
$Id: WebField.java,v 1.2 2006/07/30 00:53:21 jjanke Exp $
Author:
Jorg Janke

Field Summary
static String C_ERROR
          CSS Field Error Class
static String C_MANDATORY
          CSS Field Mandatory Class
protected static CLogger log
           
 
Constructor Summary
WebField(WebSessionCtx wsc, String columnName, String name, String description, int displayType, int fieldLength, int displayLength, boolean longField, boolean readOnly, boolean mandatory, boolean error, boolean hasDependents, boolean hasCallout, int AD_Process_ID, int AD_Window_ID, int AD_Record_ID, int AD_Table_ID, int fieldNumber, Object defaultvalue, String callOut, GridTab mTab, GridField mField, MRole mRole)
          Web Field
 
Method Summary
 org.apache.ecs.xhtml.td getField(Lookup lookup, Object data)
          Get Field
 org.apache.ecs.xhtml.td getLabel()
          Get the field Label
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static CLogger log

C_MANDATORY

public static final String C_MANDATORY
CSS Field Mandatory Class

See Also:
Constant Field Values

C_ERROR

public static final String C_ERROR
CSS Field Error Class

See Also:
Constant Field Values
Constructor Detail

WebField

public WebField(WebSessionCtx wsc,
                String columnName,
                String name,
                String description,
                int displayType,
                int fieldLength,
                int displayLength,
                boolean longField,
                boolean readOnly,
                boolean mandatory,
                boolean error,
                boolean hasDependents,
                boolean hasCallout,
                int AD_Process_ID,
                int AD_Window_ID,
                int AD_Record_ID,
                int AD_Table_ID,
                int fieldNumber,
                Object defaultvalue,
                String callOut,
                GridTab mTab,
                GridField mField,
                MRole mRole)
Web Field

Parameters:
wsc - session context
columnName - column
name - label
description - description
displayType - display type
fieldLength - field length
displayLength - optional display length
longField - if true spans 3 columns
readOnly - read only
mandatory - mandatory
error - erro status
hasDependents - has dependent fields
hasCallout - has callout functions
Method Detail

getLabel

public org.apache.ecs.xhtml.td getLabel()
Get the field Label

Returns:
label

getField

public org.apache.ecs.xhtml.td getField(Lookup lookup,
                                        Object data)
Get Field

Parameters:
lookup - lookup
data - data
Returns:
field

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.