|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.edu.agh.cast.figure.icons.NodeIcon
public final class NodeIcon
Representation of diagram icon specific for given node type. For each node type there may be only one default NodeIcon.
| Constructor Summary | |
|---|---|
NodeIcon(java.lang.String nodeType,
java.lang.String name,
org.eclipse.jface.resource.ImageDescriptor icon,
org.eclipse.jface.resource.ImageDescriptor smallIcon,
java.lang.String group)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getGroup()
Returns the name of the group this icon belongs to. |
org.eclipse.jface.resource.ImageDescriptor |
getIconDescriptor()
Returns the large icon descriptor. |
java.lang.String |
getIconId()
Returns the large icon unique ID. |
java.lang.String |
getName()
Returns icon's display name. |
java.lang.String |
getNodeType()
Returns the type of node this icon is for (by default). |
org.eclipse.jface.resource.ImageDescriptor |
getSmallIconDescriptor()
Returns the small icon descriptor. |
java.lang.String |
getSmallIconId()
Returns the small icon unique ID. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeIcon(java.lang.String nodeType,
java.lang.String name,
org.eclipse.jface.resource.ImageDescriptor icon,
org.eclipse.jface.resource.ImageDescriptor smallIcon,
java.lang.String group)
nodeType - type of node this icon is for (by default). Should be unique
for each NodeIcon.name - localized icon display nameicon - descriptor of icon's large imagesmallIcon - descriptor of icon's small imagegroup - localized name of the group this icon is in (ex. Billing)| Method Detail |
|---|
public java.lang.String getName()
public java.lang.String getNodeType()
public org.eclipse.jface.resource.ImageDescriptor getIconDescriptor()
public org.eclipse.jface.resource.ImageDescriptor getSmallIconDescriptor()
public java.lang.String getIconId()
public java.lang.String getSmallIconId()
public java.lang.String getGroup()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||