|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.editor.EditorView
public abstract class EditorView
This is the View class for the Editor Framework. It implements the Init method and should be extended by any View.
Field Summary | |
---|---|
protected AActivitySpace |
m_asOwner
JF- Associated Activity Space |
protected IModelRO |
m_model
JF- Associated read-only Model |
static java.lang.String |
SPACE
Constant for the HTML sign " ". |
Constructor Summary | |
---|---|
EditorView()
|
Method Summary | |
---|---|
void |
AddEmptyCellToRow(HTMLTableRow _myRow)
Adds an empty Cell to the Row passed in argument. |
void |
AddEmptyCellToRow(HTMLTableRow _myRow,
java.lang.String _sWidth)
Adds an empty Cell of the specified width to the Row passed in argument. |
void |
AddEmptyRowToTable(HTMLTable _myTable)
Adds an empty Row to the Table passed in argument. |
void |
AddEmptyRowToTable(HTMLTable _myTable,
java.lang.String _sHeight)
Adds an empty Row of the specified height to the Table passed in argument. |
abstract java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
abstract 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. |
HTMLElement |
GetHeaderView(java.lang.String _sHeaderTitle)
Returns the header for the view. |
protected HTMLElement |
GetHeaderViewHelper(AActivitySpace _asOwner,
java.lang.String _sHeaderTitle)
Returns the header for the View. |
abstract java.lang.String |
GetName()
Returns the Class name. |
static HTMLTable |
GetShortSpacerTable()
Returns a short empty table. |
static HTMLTable |
GetSpacerTable()
Returns an empty table. |
void |
Init(IModelRO model,
AActivitySpace parent)
Inits the View with the read-only Model and the Activity Space. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SPACE
protected AActivitySpace m_asOwner
protected IModelRO m_model
Constructor Detail |
---|
public EditorView()
Method Detail |
---|
public abstract java.lang.Object Create()
Create
in interface IManagedObject
public abstract java.lang.String GetName()
GetName
in interface IMVCObject
public static HTMLTable GetShortSpacerTable()
public static HTMLTable GetSpacerTable()
public void AddEmptyCellToRow(HTMLTableRow _myRow)
_myRow
- public void AddEmptyCellToRow(HTMLTableRow _myRow, java.lang.String _sWidth)
_myRow
- _myRow_sWidth
- strWidthpublic void AddEmptyRowToTable(HTMLTable _myTable)
_myTable
- public void AddEmptyRowToTable(HTMLTable _myTable, java.lang.String _sHeight)
_myTable
- _myTable_sHeight
- strHeightpublic abstract HTMLElement Display()
Display
in interface IView
public HTMLScript DisplayJavascript()
DisplayJavascript
in interface IView
IView.DisplayJavascript()
protected HTMLElement GetHeaderViewHelper(AActivitySpace _asOwner, java.lang.String _sHeaderTitle)
_asOwner
- The Activity Space this view is using._sHeaderTitle
- Title you want to display in the header.
public HTMLElement GetHeaderView(java.lang.String _sHeaderTitle)
_sHeaderTitle
- Title you want to display in the header.
public void Init(IModelRO model, AActivitySpace parent)
Init
in interface IView
model
- parent
-
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |