public class PrintableReference extends java.lang.Object implements PrintableColumn
Modifier and Type | Field and Description |
---|---|
protected java.lang.String[] |
keys |
protected java.lang.String[] |
meanings |
Constructor and Description |
---|
PrintableReference(DataObject assignedDataObject,
java.lang.String assignedColumnName,
java.lang.String label,
DataObject referenceDataObject,
java.lang.String printableColumnName)
Constructs a new printable reference component.
|
PrintableReference(DataObject assignedDataObject,
java.lang.String assignedColumnName,
java.lang.String label,
java.lang.String[] keys,
java.lang.String[] meanings)
Constructs a new printable reference component.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLabel()
Returns the component's label.
|
java.lang.String |
getText()
Returns the component's value to be displayed as text.
|
boolean |
hasContent()
Returns true if field has content.
|
void |
loadValue()
Loads the component's database stored value.
|
public PrintableReference(DataObject assignedDataObject, java.lang.String assignedColumnName, java.lang.String label, DataObject referenceDataObject, java.lang.String printableColumnName)
assignedDataObject
- assigned data objectassignedColumnName
- the name of the column to connect tolabel
- the label of the new linereferenceDataObject
- the reference data objectprintableColumnName
- the name of the column to be printedpublic PrintableReference(DataObject assignedDataObject, java.lang.String assignedColumnName, java.lang.String label, java.lang.String[] keys, java.lang.String[] meanings)
assignedDataObject
- assigned data objectassignedColumnName
- the name of the column to connect tolabel
- the label of the new linekeys
- the tokens of the printable referencemeanings
- the meaning of the keyed information to be printedpublic void loadValue()
loadValue
in interface PrintableColumn
public java.lang.String getLabel()
getLabel
in interface PrintableAttribute
public java.lang.String getText()
getText
in interface PrintableAttribute
public boolean hasContent()
PrintableAttribute
hasContent
in interface PrintableAttribute
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de