public class DataCleartextClassification extends CleartextClassification implements DataComponent
boxes, niColumn, sourceDataObject, superordinateNiColumn, visibleColumnName
Constructor and Description |
---|
DataCleartextClassification(DataObject assignedDataObject,
java.lang.String assignedColumnName,
SelfChainingDataObject sourceDataObject,
java.lang.String niColumn,
java.lang.String visibleColumnName,
int depth) |
Modifier and Type | Method and Description |
---|---|
void |
addComponentModificationListener(ComponentModificationListener l)
Adds a component modification listener to this component.
|
void |
free()
Releases external resources.
|
DataObject |
getAssignedDataObject() |
boolean |
isContentValid()
Indicates whether the component's value is valid.
|
boolean |
isFilled()
Indicates whether the component has a value.
|
boolean |
isRequirementUnfulfilled()
Indicates whether the component's value is mandatory but not filled.
|
boolean |
isToSave()
Indicates whether the component's value differs from its value at load time.
|
void |
loadValue()
Loads the component's database stored value.
|
void |
removeComponentModificationListener(ComponentModificationListener l)
Removes a component modification listener to this component.
|
boolean |
requestFocusInWindow()
Set focus on the receiving component if isRequestFocusEnabled returns true.
|
void |
saveValue()
Stores the component's value.
|
void |
selectAll()
Selects all input of the component, if it is supported - e.g. in JTextField.
|
void |
setRequired(boolean required)
Determines whether input is required (mandatory).
|
void |
setToolTipText(java.lang.String toolTipText)
Sets the component's tool tip text.
|
addCallbackWhenSelected, addTo, extend, extend, getSelectedInternalNumber, getWords, isModified, reload, setEditable, setSelectedInternalNumber
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setEditable
isModified
public DataCleartextClassification(DataObject assignedDataObject, java.lang.String assignedColumnName, SelfChainingDataObject sourceDataObject, java.lang.String niColumn, java.lang.String visibleColumnName, int depth)
public DataObject getAssignedDataObject()
getAssignedDataObject
in interface DataComponent
public void setRequired(boolean required)
DataComponent
setRequired
in interface DataComponent
required
- if true, input is mandatory; otherwise, input is not mandatorypublic void loadValue()
DataComponent
loadValue
in interface DataComponent
public boolean isFilled()
DataComponent
isFilled
in interface DataComponent
public boolean isToSave()
DataComponent
isToSave
in interface DataComponent
public boolean isContentValid()
DataComponent
isContentValid
in interface DataComponent
public boolean isRequirementUnfulfilled()
DataComponent
isRequirementUnfulfilled
in interface DataComponent
public void selectAll()
DataComponent
selectAll
in interface DataComponent
public boolean requestFocusInWindow()
DataComponent
requestFocusInWindow
in interface DataComponent
public void saveValue()
DataComponent
saveValue
in interface DataComponent
public void setToolTipText(java.lang.String toolTipText)
DataComponent
setToolTipText
in interface DataComponent
setToolTipText
in class CleartextClassification
toolTipText
- the component's tool tip textpublic void addComponentModificationListener(ComponentModificationListener l)
DataComponent
addComponentModificationListener
in interface DataComponent
l
- component modification listener to addpublic void removeComponentModificationListener(ComponentModificationListener l)
DataComponent
removeComponentModificationListener
in interface DataComponent
l
- component modification listener to addDataList
public void free()
Exemptible
free
in interface Exemptible
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de