com.aurel.track.screen.action
Class AbstractFieldAction

java.lang.Object
  extended by ActionSupport
      extended by com.aurel.track.screen.action.AbstractFieldAction
Direct Known Subclasses:
ScreenFieldAction, ScreenFieldAction

public abstract class AbstractFieldAction
extends ActionSupport

Used to treat the operations from screen designer operations on field:reload,getproperty setproperty

Author:
Adrian Bojani

Constructor Summary
AbstractFieldAction()
           
 
Method Summary
 java.lang.String doProperties()
          Obtain the properties for a field -load the screen field
 java.lang.String doUpdateProperty()
          Update a field property
protected abstract  AbstractFieldDesignBL getAbstractFieldDesignBL()
           
protected abstract  AbstractPanelDesignBL getAbstractPanelDesignBL()
           
 IField getField()
           
 java.lang.Integer getFieldID()
           
 java.lang.String getFieldType()
           
 java.util.List getHalignList()
          get the List for align horizontal
 java.lang.Integer getPanelID()
           
 java.lang.String getProperty()
           
abstract  ScreenFactory getScreenFactory()
           
protected abstract  java.lang.String getType(IField field)
           
 java.util.List getValignList()
          get the List for align vertical
 java.lang.String getValue()
           
 void prepare()
           
 void setField(IField field)
           
 void setFieldID(java.lang.Integer fieldID)
           
 void setFieldType(java.lang.String fieldType)
           
 void setPanelID(java.lang.Integer panelID)
           
 void setProperty(java.lang.String property)
           
 void setValue(java.lang.String value)
           
 void validate()
          Validate property for panel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFieldAction

public AbstractFieldAction()
Method Detail

getAbstractFieldDesignBL

protected abstract AbstractFieldDesignBL getAbstractFieldDesignBL()

getAbstractPanelDesignBL

protected abstract AbstractPanelDesignBL getAbstractPanelDesignBL()

getScreenFactory

public abstract ScreenFactory getScreenFactory()

prepare

public void prepare()
             throws java.lang.Exception
Throws:
java.lang.Exception

validate

public void validate()
Validate property for panel


doProperties

public java.lang.String doProperties()
Obtain the properties for a field -load the screen field

Returns:

getType

protected abstract java.lang.String getType(IField field)

doUpdateProperty

public java.lang.String doUpdateProperty()
Update a field property

Returns:

getValignList

public java.util.List getValignList()
get the List for align vertical

Returns:

getHalignList

public java.util.List getHalignList()
get the List for align horizontal

Returns:

getField

public IField getField()
Returns:
the field

setField

public void setField(IField field)
Parameters:
field - the field to set

getFieldID

public java.lang.Integer getFieldID()
Returns:
the fieldID

setFieldID

public void setFieldID(java.lang.Integer fieldID)
Parameters:
fieldID - the fieldID to set

getProperty

public java.lang.String getProperty()
Returns:
the property

setProperty

public void setProperty(java.lang.String property)
Parameters:
property - the property to set

getValue

public java.lang.String getValue()
Returns:
the value

setValue

public void setValue(java.lang.String value)
Parameters:
value - the value to set

getPanelID

public java.lang.Integer getPanelID()
Returns:
the panelID

setPanelID

public void setPanelID(java.lang.Integer panelID)
Parameters:
panelID - the panelID to set

getFieldType

public java.lang.String getFieldType()
Returns:
the fieldType

setFieldType

public void setFieldType(java.lang.String fieldType)
Parameters:
fieldType - the fieldType to set


Issue Tracking with Track+: Home Page      Copyright © 2008 Trackplus. All Rights Reserved.