|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.clients.beans.ClassItem
This is a model class for ClassInfo
objects.
It implements the Explorable
interface to
allow displaying class hierarchies in the WTExplorer
.
Supported API: false
Extendable: false
ClassInfo
,
WTExplorer
,
ClassExplorer
,
Explorable
Field Summary | |
private ClassInfo |
classInfo
|
private ClassInfo[] |
descendants
|
private static IconCache |
iconCache
|
private String |
myIdentity
|
private String |
openIconResource
|
private PropertyDescriptor[] |
properties
|
private String |
standardIconResource
|
Constructor Summary | |
ClassItem(ClassInfo classInfo)
|
|
ClassItem(String className)
|
Method Summary | |
ClassInfo |
getClassInfo()
|
Explorable[] |
getContents()
Gets the contained objects for this object. |
private WTContext |
getContext()
|
String |
getIdentity()
Gets the identifying string display for this object. |
Object |
getObject()
Implemented to get the value of the Object maintained by this reference. |
Image |
getOpenIcon()
Gets the image to display for this object when its node is expanded in a tree. |
Image |
getStandardIcon()
Gets the image to display for this object. |
String |
getUniqueIdentity()
Gets the uniquely identifying string display for this object. |
Explorable[] |
getUses()
Gets the children objects for this object. |
private void |
initIconCache()
|
void |
setClassInfo(ClassInfo classInfo)
|
void |
setObject(Object obj)
Implemented to set the value of the Object maintained by this reference. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private ClassInfo classInfo
private ClassInfo[] descendants
private PropertyDescriptor[] properties
private static IconCache iconCache
private String myIdentity
private String openIconResource
private String standardIconResource
Constructor Detail |
public ClassItem(String className)
public ClassItem(ClassInfo classInfo)
Method Detail |
public void setClassInfo(ClassInfo classInfo)
public ClassInfo getClassInfo()
public String getIdentity()
Identifiable
getIdentity
in interface Identifiable
public String getUniqueIdentity()
Identifiable
getUniqueIdentity
in interface Identifiable
public Explorable[] getUses() throws WTException
Explorable
getUses
in interface Explorable
WTException
WTException
public Explorable[] getContents() throws WTException
Explorable
getContents
in interface Explorable
WTException
WTException
public Object getObject()
ReferenceHolder
Object
maintained by this reference.
getObject
in interface ReferenceHolder
public void setObject(Object obj)
ReferenceHolder
Object
maintained by this reference.
setObject
in interface ReferenceHolder
public Image getStandardIcon()
Identifiable
getStandardIcon
in interface Identifiable
public Image getOpenIcon()
Identifiable
getOpenIcon
in interface Identifiable
private void initIconCache()
private WTContext getContext()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |