public class PrintableInt extends PrintableText
assignedDataObject, columnName, extendedWidth, label, value
Constructor and Description |
---|
PrintableInt(DataObject dO,
java.lang.String columnName,
java.lang.String label)
Constructs a new printable decimal component.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasContent()
Returns true if content is not zero.
|
void |
loadValue()
Loads the component's database stored value.
|
getLabel, getText, isExtendeWith, setExtendedWidth, setText
public PrintableInt(DataObject dO, java.lang.String columnName, java.lang.String label)
dO
- the assigned data objectcolumnName
- the name of the column to connect tolabel
- the label of the new linepublic void loadValue()
loadValue
in interface PrintableColumn
loadValue
in class PrintableText
public boolean hasContent()
hasContent
in interface PrintableAttribute
hasContent
in class PrintableText
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de