com.plumtree.portalpages.admin.editors.profilesource
Class UniqueKeyChooserView

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorView
      extended by com.plumtree.portalpages.admin.editors.profilesource.UniqueKeyChooserView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView

public class UniqueKeyChooserView
extends EditorView


Field Summary
static java.lang.String HTML_TREE_PICKER_SPAN
           
static java.lang.String HTMLHIDDEN_UNIQUEKEY_PROPERTY_SELECTED
           
static java.lang.String HTMLHIDDEN_UNIQUEKEY_PROPERTY_SPACE
          Need a hidden attribute for both the tree picker space and selected prop.
static java.lang.String RADIO_UNIQUEKEY
          Form elements in this view.
static java.lang.String STR_MVC_CLASS_NAME
          Class name for the view.
static int USER_AUTH_NAME
           
static int USER_PROP
           
static int USER_UNIQUE_NAME
          Values for the radio buttons.
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorView
m_asOwner, m_model, SPACE
 
Constructor Summary
UniqueKeyChooserView()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 HTMLElement Display()
          This method returns the HTMLElement that encompasses the output of the View.
 HTMLScript DisplayJavascript()
          This method returns the HTMLScript that encompasses the Javascript on the page.
protected  void DisplayRadioForUniqueKeyChoices(HTMLTable myTable, int nValue, int nChecked, java.lang.String sSubHeader, java.lang.String sDescription, boolean needbreak, boolean bAddPropTree)
          Displays a single row with a radio box in the left column, and title/description in the right column.
protected  HTMLImg GetImage(PTImageType type)
           
 java.lang.String GetName()
          Returns the Class name.
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorView
AddEmptyCellToRow, AddEmptyCellToRow, AddEmptyRowToTable, AddEmptyRowToTable, GetHeaderView, GetHeaderViewHelper, GetShortSpacerTable, GetSpacerTable, Init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STR_MVC_CLASS_NAME

public static final java.lang.String STR_MVC_CLASS_NAME
Class name for the view.

See Also:
Constant Field Values

RADIO_UNIQUEKEY

public static final java.lang.String RADIO_UNIQUEKEY
Form elements in this view.

See Also:
Constant Field Values

USER_UNIQUE_NAME

public static final int USER_UNIQUE_NAME
Values for the radio buttons.

See Also:
Constant Field Values

USER_AUTH_NAME

public static final int USER_AUTH_NAME
See Also:
Constant Field Values

USER_PROP

public static final int USER_PROP
See Also:
Constant Field Values

HTMLHIDDEN_UNIQUEKEY_PROPERTY_SPACE

public static final java.lang.String HTMLHIDDEN_UNIQUEKEY_PROPERTY_SPACE
Need a hidden attribute for both the tree picker space and selected prop.

See Also:
Constant Field Values

HTMLHIDDEN_UNIQUEKEY_PROPERTY_SELECTED

public static final java.lang.String HTMLHIDDEN_UNIQUEKEY_PROPERTY_SELECTED
See Also:
Constant Field Values

HTML_TREE_PICKER_SPAN

public static final java.lang.String HTML_TREE_PICKER_SPAN
See Also:
Constant Field Values
Constructor Detail

UniqueKeyChooserView

public UniqueKeyChooserView()
Method Detail

Create

public java.lang.Object Create()
Description copied from class: EditorView
This method is used by the ASManager to return new instances of managed objects.

Specified by:
Create in interface IManagedObject
Specified by:
Create in class EditorView
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()

Display

public HTMLElement Display()
Description copied from class: EditorView
This method returns the HTMLElement that encompasses the output of the View.

Specified by:
Display in interface IView
Specified by:
Display in class EditorView
Returns:

GetName

public java.lang.String GetName()
Returns the Class name.

Specified by:
GetName in interface IMVCObject
Specified by:
GetName in class EditorView
Returns:
String

DisplayRadioForUniqueKeyChoices

protected void DisplayRadioForUniqueKeyChoices(HTMLTable myTable,
                                               int nValue,
                                               int nChecked,
                                               java.lang.String sSubHeader,
                                               java.lang.String sDescription,
                                               boolean needbreak,
                                               boolean bAddPropTree)
Displays a single row with a radio box in the left column, and title/description in the right column. If bAddPropTree is selected, a link to choose a property from a tree is also added. You can only have a property tree in one row in this view.

Parameters:
myTable - - table to put the row in
nValue - - the value of the radio box
nChecked - - the value of the currently selected radio box
sSubHeader - - the title you'd like on the description
sDescription - - the description of the choice
needbreak - - should a break be added after the row?
bAddPropTree - - should a property tree be added to the row?

DisplayJavascript

public HTMLScript DisplayJavascript()
Description copied from class: EditorView
This method returns the HTMLScript that encompasses the Javascript on the page.

Specified by:
DisplayJavascript in interface IView
Overrides:
DisplayJavascript in class EditorView
Returns:
HTMLScript
See Also:
IView.DisplayJavascript()

GetImage

protected HTMLImg GetImage(PTImageType type)



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