java.lang.Object
public class OptionDesc extends GenericDesc<Option>
The wrapper class for the
Option annotation.- Since:
- 1.0
- See Also:
Option
-
Field Summary
-
Constructor Summary
Constructors Constructor Description OptionDesc()Creates a newOptionDesc. -
Method Summary
Modifier and Type Method Description voidapplyTo(java.awt.Component component)Applies the stored options on the given component.Methods inherited from class org.proto4j.swing.core.desc.GenericDesc
annotationType, get, getDefinedOptions, getOption, hasOption, keys, put, read, read
-
Constructor Details
-
OptionDesc
public OptionDesc()Creates a newOptionDesc.
-
-
Method Details
-
applyTo
public void applyTo(java.awt.Component component)Applies the stored options on the given component.- Specified by:
applyToin classGenericDesc<Option>- Parameters:
component- theComponentreference
-