Added Javadoc since tag to SettingsItem

This commit is contained in:
Kai S. K. Engelbart 2019-12-23 19:37:09 +01:00 committed by GitHub
parent 2f090ad5d6
commit e19b647432
1 changed files with 2 additions and 1 deletions

View File

@ -72,6 +72,7 @@ public class SettingsItem<T> implements Serializable {
* @return an instance of the {@link JComponent} that represents this {@link SettingsItem}
* @throws ReflectiveOperationException if the component initialization failed
* @throws SecurityException if the component initialization failed
* @since Envoy v0.3-alpha
*/
public JComponent getComponent() throws ReflectiveOperationException, SecurityException {
if (componentClass == null) throw new NullPointerException("Component class is null");
@ -144,4 +145,4 @@ public class SettingsItem<T> implements Serializable {
this.changeHandler = changeHandler;
changeHandler.accept(value);
}
}
}