|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.edu.agh.cast.backward.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(String nodeType,
String name,
org.eclipse.jface.resource.ImageDescriptor icon,
org.eclipse.jface.resource.ImageDescriptor smallIcon,
String group)
Constructor. |
Method Summary | |
---|---|
String |
getGroup()
Returns the name of the group this icon belongs to. |
org.eclipse.jface.resource.ImageDescriptor |
getIconDescriptor()
Returns the large icon descriptor. |
String |
getIconId()
Returns the large icon unique ID. |
String |
getName()
Returns icon's display name. |
String |
getNodeType()
Returns the type of node this icon is for (by default). |
org.eclipse.jface.resource.ImageDescriptor |
getSmallIconDescriptor()
Returns the small icon descriptor. |
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(String nodeType, String name, org.eclipse.jface.resource.ImageDescriptor icon, org.eclipse.jface.resource.ImageDescriptor smallIcon, 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 String getName()
public String getNodeType()
public org.eclipse.jface.resource.ImageDescriptor getIconDescriptor()
public org.eclipse.jface.resource.ImageDescriptor getSmallIconDescriptor()
public String getIconId()
public String getSmallIconId()
public String getGroup()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |