|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.iplanet.jato.view.ViewBase
The basic view implementation from which all other, more complex views derive. This class handles the basic view behavior common to all view implementations.
Fields inherited from interface com.iplanet.jato.view.View |
QUALIFIED_VIEW_NAME_SEPARATOR |
Constructor Summary | |
ViewBase()
Default constructor |
|
ViewBase(java.lang.String name)
Constructs an instance with the specified name |
|
ViewBase(View parent)
Constructs an instance with the specified parent |
|
ViewBase(View parent,
java.lang.String name)
Constructs an instance with the specified parent and name |
Method Summary | |
java.lang.String |
getName()
Returns the view's logical (unqualified) name |
View |
getParent()
Returns the immeditate parent of this view |
ViewBean |
getParentViewBean()
Locates and returns the ultimate view bean parent of this view |
java.lang.String |
getQualifiedName()
Returns the view's qualified name |
ViewBean |
getRootView()
Locates and returns the ultimate view bean parent of this view. |
static ViewBean |
getRootView(View view)
Locates and returns the ultimate ViewBean parent of the
specified view |
void |
setName(java.lang.String value)
Sets this view's logical name. |
void |
setParent(View parent)
Sets the immeditate parent of this view |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ViewBase()
public ViewBase(View parent)
parent
- The parent view of this viewpublic ViewBase(java.lang.String name)
name
- The logical name of this viewpublic ViewBase(View parent, java.lang.String name)
parent
- The parent view of this viewname
- The logical name of this viewMethod Detail |
public java.lang.String getName()
getName
in interface View
public void setName(java.lang.String value)
value
- The new logical namepublic java.lang.String getQualifiedName()
getQualifiedName
in interface View
public View getParent()
getParent
in interface View
public void setParent(View parent)
setParent
in interface View
parent
- The immeditate parent of this viewpublic ViewBean getParentViewBean()
public ViewBean getRootView()
public static ViewBean getRootView(View view)
ViewBean
parent of the
specified viewview
- The view to search for a ViewBean
parentViewBean
of the provided view
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |