LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.control.builder
Class LyFilterRelationBuilder

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.LyFilterRelationBuilder

public class LyFilterRelationBuilder
extends LySimpleFilterBuilder

Creates a view to type in a new relation filter.

See Also:
LyFilterRelationController

Field Summary
static java.lang.String __VERSION
          File version
static int FILTER_NAME_MAX_LENGTH
          Maximum length of displayed name for filters.
 
Fields inherited from class leon.control.builder.LyFormBuilder
DEFAULT_TRANSVERSE_ICON_WIDTH, SHOW_CONTEXT_AREA
 
Constructor Summary
LyFilterRelationBuilder(LyController parent)
          Default constructor.
 
Method Summary
 LyComponent build()
          Builds the view component for the specified parent controller.
 LyClassInfo getSelectedClassInfo()
          Returns selected class info in the class info list.
 LyRelationFieldInfo getSelectedFieldInfo()
          Returns selected field info in the class info list.
 LyFilter getSelectedFilter()
          Returns selected filter in the filter list.
 void resetClassField()
          Updates the field that contains the possible classes.
 void resetFilterField()
          Updates the field that contains the possible filters.
 void resetForm()
          Resets form once all modifications were done.
 void setClassInfo(LyClassInfo classInfo)
          Forces the field that contains the possible classes to the given class.
 void updateTools()
          Updates state of filtering tools.
 
Methods inherited from class leon.control.builder.LySimpleFilterBuilder
buildArray, buildChoice, buildDate, buildFieldItem, buildFieldItem, buildFile, buildFormField, buildNumber, buildRelation, buildText, 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

FILTER_NAME_MAX_LENGTH

public static final int FILTER_NAME_MAX_LENGTH
Maximum length of displayed name for filters.

See Also:
Constant Field Values
Constructor Detail

LyFilterRelationBuilder

public LyFilterRelationBuilder(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

resetClassField

public void resetClassField()
Updates the field that contains the possible classes.


setClassInfo

public void setClassInfo(LyClassInfo classInfo)
Forces the field that contains the possible classes to the given class.

Parameters:
classInfo - the class info that must be set on the field.

resetFilterField

public void resetFilterField()
Updates the field that contains the possible filters.


resetForm

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


updateTools

public void updateTools()
Updates state of filtering tools.


getSelectedFieldInfo

public LyRelationFieldInfo getSelectedFieldInfo()
Returns selected field info in the class info list.

Returns:
selected field info in the class info list

getSelectedClassInfo

public LyClassInfo getSelectedClassInfo()
Returns selected class info in the class info list.

Returns:
selected class info in the class info list

getSelectedFilter

public LyFilter getSelectedFilter()
Returns selected filter in the filter list.

Returns:
selected filter in the filter list

(c) January 2013 - W4 S.A.

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