|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttemplates.library.TemplateDescriptor
public class TemplateDescriptor
Encapsulates the visual description of a Template.
| Field Summary | |
|---|---|
java.awt.Color |
color
The color of the icon of the template. |
java.lang.String |
description
The description of the template. |
java.lang.String |
tag
The "ID" of the template. |
| Constructor Summary | |
|---|---|
TemplateDescriptor()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
shortDescription(java.lang.String d)
Produce a shortened version of the description of a template. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String tag
public java.awt.Color color
public java.lang.String description
| Constructor Detail |
|---|
public TemplateDescriptor()
| Method Detail |
|---|
public static java.lang.String shortDescription(java.lang.String d)
d - the original description of the template
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||