public class MustReferencePresenter extends java.lang.Object implements Markupable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String[][] |
content |
protected java.lang.String |
printableColumnName |
static int |
REFERENCE_TYPE_INTEGER |
static int |
REFERENCE_TYPE_STATIC_CONTENT |
static int |
REFERENCE_TYPE_STRING |
protected DataObject |
referenceDataObject |
protected int |
referenceType |
Constructor and Description |
---|
MustReferencePresenter(DataObject referenceDataObject,
java.lang.String printableColumnName)
Constructs a database connected reference presenter
|
MustReferencePresenter(java.lang.String[][] content)
Constructs a database connected reference presenter
|
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 |
getText()
Return the text of the specified field.
|
void |
setComment(java.lang.String comment)
Sets the component's comment text which will be presented to the right of
the component.
|
void |
setText(java.lang.String newText)
Sets the text.
|
void |
setToolTipText(java.lang.String newToolTipText)
Sets the component's tool tip text.
|
java.lang.String |
toString()
Returns the tag sequence that's needed to show this object in the user
interface.
|
public static final int REFERENCE_TYPE_INTEGER
public static final int REFERENCE_TYPE_STRING
public static final int REFERENCE_TYPE_STATIC_CONTENT
protected int referenceType
protected DataObject referenceDataObject
protected java.lang.String[][] content
protected java.lang.String printableColumnName
public MustReferencePresenter(DataObject referenceDataObject, java.lang.String printableColumnName)
referenceDataObject
- the reference data objectprintableColumnName
- the printable column namepublic MustReferencePresenter(java.lang.String[][] content)
content
- the content of the reference presenterpublic 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 java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getCreationTag()
getCreationTag
in interface Markupable
public java.lang.String getText()
public void setText(java.lang.String newText)
newText
- the new textpublic 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