public class SetTextManager extends SetValueManager
methodName
Constructor and Description |
---|
SetTextManager(java.lang.String startString) |
Modifier and Type | Method and Description |
---|---|
void |
add(javax.swing.AbstractButton menuItemOrButtonOrEtc) |
void |
add(javax.swing.JLabel label) |
void |
setText(java.lang.String newText)
Added setText(newText) for easy recognition of functionality
Using setValue directly is equivalent.
|
addObject, contains, forceParameterTypes, remove, removeAll, setValue, size
public SetTextManager(java.lang.String startString)
startString
- a default String start with.
null will be replaced by empty string ""public void add(javax.swing.JLabel label)
label
- a label for automated setText(...)public void add(javax.swing.AbstractButton menuItemOrButtonOrEtc)
menuItemOrButtonOrEtc
- any type of AbstractButton
like JMenuItem, JButton, ...
for automated setText(...)public void setText(java.lang.String newText)
newText
- all registered clients will be receive a method call
to setText(newText)13-September-2017 07:50 Deutsches Elektronen-Synchrotron DESY in der Helmholtz-Gemeinschaft