java.lang.Object
public class ModelDesc extends GenericDesc<Model>
-
Field Summary
Fields Modifier and Type Field Description static java.util.regex.Pattern
DEFAULT_MODELS
-
Constructor Summary
Constructors Constructor Description ModelDesc()
Creates a newModelDesc
object. -
Method Summary
Modifier and Type Method Description void
applyTo(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
-
Field Details
-
DEFAULT_MODELS
public static final java.util.regex.Pattern DEFAULT_MODELS
-
-
Constructor Details
-
ModelDesc
public ModelDesc()Creates a newModelDesc
object.- Throws:
java.lang.NullPointerException
- if the given annotation class isnull
-
-
Method Details
-
applyTo
public void applyTo(java.awt.Component component)Applies the stored options on the given component.- Specified by:
applyTo
in classGenericDesc<Model>
- Parameters:
component
- theComponent
reference
-