public class MarkupableObject extends java.lang.Object implements Markupable
Constructor and Description |
---|
MarkupableObject(java.lang.Object obj)
Constructs a new markupable object
|
MarkupableObject(java.lang.Object obj,
java.lang.String fontSize)
Constructs a new markupable object
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroys the markupable.
|
java.lang.String |
getCreationTag()
Returns the tag sequence that's needed to show this object in the user
interface.
|
java.lang.String |
getFontSize()
Returns the font size of the object.
|
java.lang.String |
getLabel()
Returns the object's label.
|
void |
setComment(java.lang.String comment)
Sets the component's comment text which will be presented to the right of
the component.
|
void |
setFontSize(java.lang.String fontSize)
Sets the font size of the object.
|
void |
setToolTipText(java.lang.String newToolTipText)
Sets the component's tool tip text.
|
public MarkupableObject(java.lang.Object obj)
obj
- the object to be marked uppublic MarkupableObject(java.lang.Object obj, java.lang.String fontSize)
obj
- the object to be marked upfontSize
- the new font size (e.g. 4, -1, +2);public java.lang.String getLabel()
public void setToolTipText(java.lang.String newToolTipText)
setToolTipText
in interface Markupable
newToolTipText
- the component's tool tip textpublic void setComment(java.lang.String comment)
setComment
in interface Markupable
comment
- the component's comment textpublic void setFontSize(java.lang.String fontSize)
fontSize
- the new font size (e.g. 4, -1, +2);public java.lang.String getFontSize()
public java.lang.String getCreationTag()
getCreationTag
in interface Markupable
public void destroy()
Markupable
destroy
in interface Markupable
Markupable.destroy()
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de