public final class ContentElement
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ContentElement.Type
Specifies the type of ContentElement.
|
Constructor and Description |
---|
ContentElement(java.lang.String id, ContentElement.Type type, java.lang.String target)
Creates a ContentElement with specified parameters.
|
ContentElement(java.lang.String id, ContentElement.Type type, java.lang.String label, javax.swing.Icon icon, java.lang.String target)
Creates a ContentElement with specified parameters.
|
ContentElement(java.lang.String id, ContentElement.Type type, java.lang.String label, javax.swing.Icon icon, java.lang.String target, java.lang.String hint)
Creates a ContentElement with specified parameters.
|
ContentElement(java.lang.String id, ContentElement.Type type, java.lang.String label, java.lang.String target)
Creates a ContentElement with specified parameters.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHint()
Returns the HintText (or description) of the content element.
|
javax.swing.Icon |
getIcon()
Returns the icon for the content element.
|
java.lang.String |
getId()
Returns the id of the ContentElement.
|
java.lang.String |
getLabel()
Returns the label of the ContentElement.
|
java.lang.String |
getTarget()
Returns the target of the ContentElement.
|
ContentElement.Type |
getType()
Returns the type of the ContentElement.
|
public ContentElement(java.lang.String id, ContentElement.Type type, java.lang.String target)
public ContentElement(java.lang.String id, ContentElement.Type type, java.lang.String label, java.lang.String target)
public ContentElement(java.lang.String id, ContentElement.Type type, java.lang.String label, javax.swing.Icon icon, java.lang.String target)
public ContentElement(java.lang.String id, ContentElement.Type type, java.lang.String label, javax.swing.Icon icon, java.lang.String target, java.lang.String hint)
public java.lang.String getId()
public ContentElement.Type getType()
public java.lang.String getLabel()
public java.lang.String getTarget()
public javax.swing.Icon getIcon()
public java.lang.String getHint()