|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.ide.model.DocumentInfo
DocumentInfo
class. Stores information about a given
document type. Such information includes: the icon representing the
document type, and the document type display label.
Constructor Summary | |
DocumentInfo(java.lang.String label,
ArrayResourceBundle bundle,
int key)
Constructor, where resource fetch is postponed until needed. |
|
DocumentInfo(java.lang.String label,
javax.swing.Icon icon)
Constructor. |
Method Summary | |
javax.swing.Icon |
getIcon()
Get the icon property, performing delayed resource fetch if necessary. |
java.lang.String |
getLabel()
Get the label property. |
void |
setIcon(ArrayResourceBundle bundle,
int key)
Set icon property such that resource fetch is postponed until needed. |
void |
setIcon(javax.swing.Icon icon)
Set icon property. |
void |
setLabel(java.lang.String label)
Set the label property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DocumentInfo(java.lang.String label, javax.swing.Icon icon)
public DocumentInfo(java.lang.String label, ArrayResourceBundle bundle, int key)
getIcon()
Method Detail |
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
public javax.swing.Icon getIcon()
public void setIcon(javax.swing.Icon icon)
setIcon(ArrayResourceBundle, int)
public void setIcon(ArrayResourceBundle bundle, int key)
getIcon()
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.