LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.control.builder
Class LyFilterBuilder

java.lang.Object
  extended by leon.control.builder.LyBuilder
      extended by leon.control.builder.LyAreaBuilder
          extended by leon.control.builder.LyFormBuilder
              extended by leon.control.builder.LySimpleFilterBuilder
                  extended by leon.control.builder.LyFilterBuilder

public class LyFilterBuilder
extends LySimpleFilterBuilder

Creates a view to type in a new simple filter expression.

See Also:
LyFilterController

Field Summary
static java.lang.String __VERSION
          File version.
 
Fields inherited from class leon.control.builder.LyFormBuilder
DEFAULT_TRANSVERSE_ICON_WIDTH, SHOW_CONTEXT_AREA
 
Constructor Summary
LyFilterBuilder(LyController parent)
          Default constructor.
 
Method Summary
 LyComponent build()
          Builds the view component for the specified parent controller.
 LyFieldItem buildText(LyTextFieldInfo textField, java.lang.Object value)
          Build a field item for a text fieldInfo.
 void enableValueField(boolean enable)
          Enable or disable value field.
 void resetConditionField(java.lang.String fieldId)
          Update the field that contains the filter conditions.
 void resetDateSpecialValues(java.lang.String fieldId)
          Update the field that contains the filter date special values.
 void resetForm()
          Reset form once all modifications were done.
 void resetModifiersField(java.lang.String fieldId)
          Update the field that contains the filter modifiers.
 void resetValueField(java.lang.String fieldId)
          Update the field that contains the possible filter values.
 void setValueFieldStatus(boolean valid)
          Update the field status : field is valid or not.
 void showDayValueField(boolean show)
          Show the Day value field.
 
Methods inherited from class leon.control.builder.LySimpleFilterBuilder
buildArray, buildChoice, buildDate, buildFieldItem, buildFieldItem, buildFile, buildFormField, buildNumber, buildRelation, buildToolBar, buildToolBar, buildUnitsList, getCaptionConstraint, getFieldConstraint, translate
 
Methods inherited from class leon.control.builder.LyFormBuilder
buildStruct, buildValueLabel, completeToolBarForContext, getFill, getHAlign, getVAlign
 
Methods inherited from class leon.control.builder.LyAreaBuilder
buildComponent, completeMenuBar, completeMessages, getRightLabel, setTitleBarParameters, updateSelectFile, updateTitleBar
 
Methods inherited from class leon.control.builder.LyBuilder
getComponent, getParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
File version.

See Also:
Constant Field Values
Constructor Detail

LyFilterBuilder

public LyFilterBuilder(LyController parent)
Default constructor.

Parameters:
parent - parent controller
Method Detail

build

public LyComponent build()
Builds the view component for the specified parent controller. The component may create the XML Tree or the internal view.

Overrides:
build in class LyFormBuilder
Returns:
the view Component

buildText

public LyFieldItem buildText(LyTextFieldInfo textField,
                             java.lang.Object value)
Build a field item for a text fieldInfo.

Overrides:
buildText in class LySimpleFilterBuilder
Parameters:
textField - the text fieldInfo corresponding to the built field item
value - the value of the field item
Returns:
the field item corresponding to the fieldInfo

resetValueField

public void resetValueField(java.lang.String fieldId)
Update the field that contains the possible filter values.

Parameters:
fieldId - The id of the new selected field.

enableValueField

public void enableValueField(boolean enable)
Enable or disable value field.

Parameters:
enable - if true, enable the value field, disable otherwise

setValueFieldStatus

public void setValueFieldStatus(boolean valid)
Update the field status : field is valid or not.

Parameters:
valid - the new valid status

resetConditionField

public void resetConditionField(java.lang.String fieldId)
Update the field that contains the filter conditions.

Parameters:
fieldId - The id of the new selected field.

resetModifiersField

public void resetModifiersField(java.lang.String fieldId)
Update the field that contains the filter modifiers.

Parameters:
fieldId - The id of the new selected field.

resetDateSpecialValues

public void resetDateSpecialValues(java.lang.String fieldId)
Update the field that contains the filter date special values.

Parameters:
fieldId - The id of the new selected field.

resetForm

public void resetForm()
Reset form once all modifications were done.


showDayValueField

public void showDayValueField(boolean show)
Show the Day value field.

Parameters:
show - true to show

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com