this.caption = new TextData(value);
}
public void performAction() {
// TF:26/06/2008:Made this class handle RadioLists
if (this._component instanceof RadioList) {
RadioList rl = (RadioList)this._component;
rl.setCaption(this.caption);
// CraigM:26/08/2008 - If we add or remove a caption, this affects the size of the radio list
rl.updateSize();
}
else if (this._component != null) {
// CraigM:23/07/2008 - Changed to JComponent as a JScrollPane can have captions too
JComponent panel = (JComponent)this._component;
panel.putClientProperty("qq_caption", this.caption.toString());