public class JDialogTitleProperty extends AbstractComponentProperty<JDialog,String>
JDialog.
It is possible to control the title of the dialog by setting the value of this property or by calling the Dialog.setTitle(String) method of that dialog.
Note that in conformance with the behavior of the JDialog, unlike the JFrame, a null
value will not be replaced by an empty string.
Dialog.getTitle(),
Dialog.setTitle(String)component| Constructor and Description |
|---|
JDialogTitleProperty(JDialog dialog) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getPropertyValueFromComponent()
Reads the value from
AbstractComponentProperty.component. |
protected void |
setPropertyValueToComponent(String value)
Sets the value to
AbstractComponentProperty.component. |
dispose, getValue, setValueaddChangeListener, getChangeListeners, isInhibited, isNotifyingListeners, maybeNotifyListeners, removeChangeListener, setInhibitedpublic JDialogTitleProperty(JDialog dialog)
protected String getPropertyValueFromComponent()
AbstractComponentPropertyAbstractComponentProperty.component.
Note that whenever this method is called, AbstractComponentProperty.component is not null.
getPropertyValueFromComponent in class AbstractComponentProperty<JDialog,String>AbstractComponentProperty.getPropertyValueFromComponent()protected void setPropertyValueToComponent(String value)
AbstractComponentPropertyAbstractComponentProperty.component.
Note that whenever this method is called, AbstractComponentProperty.component is not null.
setPropertyValueToComponent in class AbstractComponentProperty<JDialog,String>value - Component value.AbstractComponentProperty.setPropertyValueToComponent(Object)Copyright © 2017. All rights reserved.