Class ModelDesc

java.lang.Object
org.proto4j.swing.core.desc.GenericDesc<Model>
org.proto4j.swing.core.desc.ModelDesc

public class ModelDesc
extends GenericDesc<Model>
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.util.regex.Pattern DEFAULT_MODELS  

    Fields inherited from class org.proto4j.swing.core.desc.GenericDesc

    INVALID_INT, UNDEFINED
  • Constructor Summary

    Constructors 
    Constructor Description
    ModelDesc()
    Creates a new ModelDesc 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • DEFAULT_MODELS

      public static final java.util.regex.Pattern DEFAULT_MODELS
  • Constructor Details

    • ModelDesc

      public ModelDesc()
      Creates a new ModelDesc object.
      Throws:
      java.lang.NullPointerException - if the given annotation class is null
  • Method Details

    • applyTo

      public void applyTo​(java.awt.Component component)
      Applies the stored options on the given component.
      Specified by:
      applyTo in class GenericDesc<Model>
      Parameters:
      component - the Component reference