|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.intarsys.aaa.resource.Resource
de.intarsys.aaa.resource.StaticResource
public class StaticResource
A resource abstracted as a simple "id".
| Field Summary |
|---|
| Fields inherited from interface de.intarsys.tools.presentation.IPresentationSupport |
|---|
ATTR_DESCRIPTION, ATTR_ICON, ATTR_LABEL, ATTR_TIP |
| Constructor Summary | |
|---|---|
StaticResource(String id)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getDescription()
A long, descriptive string representation. |
String |
getIconName()
A name for an icon. |
String |
getId()
|
String |
getLabel()
A short string representation (suitable for example for use with an icon or menu item). |
String |
getTip()
An "intermediate" length description (suitable for example with a tooltip). |
int |
hashCode()
|
void |
setLabel(String label)
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StaticResource(String id)
| Method Detail |
|---|
public boolean equals(Object obj)
equals in class Objectpublic String getDescription()
IPresentationSupport
getDescription in interface IPresentationSupportpublic String getIconName()
IPresentationSupport
getIconName in interface IPresentationSupportpublic String getId()
getId in interface IResourcepublic String getLabel()
IPresentationSupport
getLabel in interface IPresentationSupportpublic String getTip()
IPresentationSupport
getTip in interface IPresentationSupportpublic int hashCode()
hashCode in class Objectpublic void setLabel(String label)
|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||