Class OptionDesc

java.lang.Object
org.proto4j.swing.core.desc.GenericDesc<Option>
org.proto4j.swing.core.desc.OptionDesc

public class OptionDesc
extends GenericDesc<Option>
The wrapper class for the Option annotation.
Since:
1.0
See Also:
Option
  • Field Summary

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

    INVALID_INT, UNDEFINED
  • Constructor Summary

    Constructors 
    Constructor Description
    OptionDesc()
    Creates a new OptionDesc.
  • 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
  • Constructor Details

    • OptionDesc

      public OptionDesc()
      Creates a new OptionDesc.
  • Method Details

    • applyTo

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