|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.layout.ViewId
Class used to identify views. A ViewId
is made up of
view type and a view name. In general, the view type is the view class
and the view name is the subject of the view.
Field Summary | |
static java.lang.String |
DELIMETER
|
protected java.lang.String |
displayName
|
protected java.lang.String |
id
|
protected java.lang.String |
name
|
static char |
NAME_SEPARATOR
|
protected java.lang.String |
type
|
Constructor Summary | |
protected |
ViewId()
Default constructor. |
|
ViewId(java.lang.String viewId)
Constructor. |
|
ViewId(java.lang.String type,
java.lang.String name)
Constructor. |
Method Summary | |
boolean |
equals(java.lang.Object object)
|
java.lang.String |
getDisplayName()
|
java.lang.String |
getId()
|
java.lang.String |
getName()
|
java.lang.String |
getType()
|
int |
hashCode()
|
boolean |
isValid()
|
java.lang.String |
toString()
|
static java.lang.String |
validate(java.lang.String name)
Method used to replace some characters in the name with the '-' character. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String DELIMETER
public static final char NAME_SEPARATOR
protected java.lang.String type
protected java.lang.String name
protected java.lang.String displayName
protected java.lang.String id
Constructor Detail |
public ViewId(java.lang.String type, java.lang.String name)
type
- the view type. In general, the view type is the view class
name.name
- the view name. In general, the view name is a string
identifying the subject of this view.public ViewId(java.lang.String viewId)
viewId
- a string uniquely identifying a view. The view ID is
made up the the view type and the view name. In general, the view
type is the view class name, and the view name is a string identifying
the subject of this view. The type and name are separated by dot.protected ViewId()
Method Detail |
public java.lang.String getId()
public java.lang.String getType()
public java.lang.String getName()
public java.lang.String getDisplayName()
public boolean isValid()
true
if the view id is valid.public static java.lang.String validate(java.lang.String name)
public java.lang.String toString()
public boolean equals(java.lang.Object object)
public int hashCode()
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.