com.plumtree.portalpages.common.search
Class FilterView

java.lang.Object
  extended by com.plumtree.portalpages.common.search.EditorLikeView
      extended by com.plumtree.portalpages.common.search.FilterView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView
Direct Known Subclasses:
ASFilterView, DynamicRulesView, SavSrchFilterView, SettingsView

public abstract class FilterView
extends EditorLikeView

Author:
CraigS, based on MikeS code

Field Summary
 
Fields inherited from class com.plumtree.portalpages.common.search.EditorLikeView
m_asOwner, m_model, SPACE
 
Constructor Summary
FilterView()
           
 
Method Summary
 HTMLElement Display()
          Display the HTML for the view
 HTMLScript DisplayJavascript()
          This method returns the HTMLScript that encompasses the Javascript on the page.
protected  boolean GetDoValidation()
          Subclasses may override to turn off the display of errors under certain circumstances
static HTMLElementCollection GetPagePreFormContent(AActivitySpace asOwner)
           
protected  boolean GetUseJavascriptStatementButtons()
           
 boolean QueryContainsValidationProblemsOnRender()
           
protected  void SetAddClauseLabel(java.lang.String s)
           
protected  void SetAddConditionLabel(java.lang.String s)
           
 void SetAddTestButton()
           
protected  void SetAllowSubclauses(boolean b)
           
protected  void SetErrorsNextToTextBoxes(boolean b)
           
protected  void SetPropertyLabel(java.lang.String s)
           
protected  void SetRemoveClauseLabel(java.lang.String s)
           
protected  void SetRemoveConditionLabel(java.lang.String s)
           
protected  void SetRepostAction(int a)
           
protected  void SetShowSearchBox(boolean b)
           
protected  void SetStatementCount(int size)
           
 void SetTestButtonOnClickScript(java.lang.String script)
           
 void SetTestButtonScript(java.lang.String script)
           
protected  void SetTextboxLabel(HTMLElement e)
           
protected  void SetTextSearchAboveButtons()
           
 void SetUseCheckboxLayout()
           
protected  void SetUseJavascriptStatementButtons(boolean b)
           
protected  void SetViewTitle(java.lang.String s)
           
protected  void SetWidth(java.lang.String s)
           
 
Methods inherited from class com.plumtree.portalpages.common.search.EditorLikeView
Create, GetHeaderView, GetName, Init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterView

public FilterView()
Method Detail

Display

public HTMLElement Display()
Display the HTML for the view

Specified by:
Display in interface IView
Specified by:
Display in class EditorLikeView
Returns:
HTMLElement

DisplayJavascript

public HTMLScript DisplayJavascript()
Description copied from interface: IView
This method returns the HTMLScript that encompasses the Javascript on the page. This method should be called by IDisplayPages and the resulting Javascript should be put in the HTMLHead element. This can return null.

Specified by:
DisplayJavascript in interface IView
Overrides:
DisplayJavascript in class EditorLikeView
Returns:

QueryContainsValidationProblemsOnRender

public boolean QueryContainsValidationProblemsOnRender()

GetDoValidation

protected boolean GetDoValidation()
Subclasses may override to turn off the display of errors under certain circumstances


GetUseJavascriptStatementButtons

protected boolean GetUseJavascriptStatementButtons()
Returns:

SetAddClauseLabel

protected void SetAddClauseLabel(java.lang.String s)
Parameters:
s -

SetAddConditionLabel

protected void SetAddConditionLabel(java.lang.String s)
Parameters:
s -

SetAllowSubclauses

protected void SetAllowSubclauses(boolean b)
Parameters:
b -

SetErrorsNextToTextBoxes

protected void SetErrorsNextToTextBoxes(boolean b)
Parameters:
b -

SetPropertyLabel

protected void SetPropertyLabel(java.lang.String s)
Parameters:
s -

SetRemoveClauseLabel

protected void SetRemoveClauseLabel(java.lang.String s)
Parameters:
s -

SetRemoveConditionLabel

protected void SetRemoveConditionLabel(java.lang.String s)
Parameters:
s -

SetRepostAction

protected void SetRepostAction(int a)
Parameters:
a -

SetShowSearchBox

protected void SetShowSearchBox(boolean b)
Parameters:
size -

SetStatementCount

protected void SetStatementCount(int size)
Parameters:
size -

SetTextSearchAboveButtons

protected void SetTextSearchAboveButtons()

SetTextboxLabel

protected void SetTextboxLabel(HTMLElement e)
Parameters:
e -

SetAddTestButton

public void SetAddTestButton()

SetUseJavascriptStatementButtons

protected void SetUseJavascriptStatementButtons(boolean b)
Parameters:
b -

SetViewTitle

protected void SetViewTitle(java.lang.String s)
Parameters:
s -

SetWidth

protected void SetWidth(java.lang.String s)
Parameters:
s -

SetUseCheckboxLayout

public void SetUseCheckboxLayout()

SetTestButtonScript

public void SetTestButtonScript(java.lang.String script)

SetTestButtonOnClickScript

public void SetTestButtonOnClickScript(java.lang.String script)

GetPagePreFormContent

public static HTMLElementCollection GetPagePreFormContent(AActivitySpace asOwner)



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.