public class ParamEditor extends java.lang.Object implements AbstractCondition.Listener
Modifier and Type | Field and Description |
---|---|
protected Label<java.lang.String> |
captionLbl |
protected AbstractCondition |
condition |
protected java.lang.String |
fieldWidth |
protected FilterDataContext |
filterDataContext |
protected BoxLayout |
labelAndOperationLayout |
protected Component |
operationEditor |
protected Component |
paramEditComponent |
protected BoxLayout |
paramEditComponentLayout |
protected LinkButton |
removeButton |
protected Action |
removeButtonAction |
protected boolean |
removeButtonVisible |
protected UiComponents |
uiComponents |
Constructor and Description |
---|
ParamEditor(AbstractCondition condition,
FilterDataContext filterDataContext,
boolean removeButtonVisible,
boolean operationEditable) |
Modifier and Type | Method and Description |
---|---|
void |
captionChanged() |
void |
createParamEditLayout() |
AbstractCondition |
getCondition() |
BoxLayout |
getLabelAndOperationLayout() |
BoxLayout |
getParamEditComponentLayout() |
LinkButton |
getRemoveButton() |
void |
paramChanged(Param oldParam,
Param newParam) |
protected boolean |
paramEditComponentExpandRequired(AbstractCondition condition) |
void |
requestFocus() |
void |
setRemoveButtonAction(Action removeButtonAction) |
protected AbstractCondition condition
protected FilterDataContext filterDataContext
protected boolean removeButtonVisible
protected java.lang.String fieldWidth
protected Label<java.lang.String> captionLbl
protected Component operationEditor
protected Component paramEditComponent
protected BoxLayout paramEditComponentLayout
protected BoxLayout labelAndOperationLayout
protected LinkButton removeButton
protected Action removeButtonAction
protected UiComponents uiComponents
public ParamEditor(AbstractCondition condition, FilterDataContext filterDataContext, boolean removeButtonVisible, boolean operationEditable)
public void createParamEditLayout()
public void paramChanged(Param oldParam, Param newParam)
paramChanged
in interface AbstractCondition.Listener
protected boolean paramEditComponentExpandRequired(AbstractCondition condition)
public void captionChanged()
captionChanged
in interface AbstractCondition.Listener
public AbstractCondition getCondition()
public BoxLayout getParamEditComponentLayout()
public BoxLayout getLabelAndOperationLayout()
public LinkButton getRemoveButton()
public void requestFocus()
public void setRemoveButtonAction(Action removeButtonAction)