Class WindowDesc

java.lang.Object
org.proto4j.swing.core.desc.GenericDesc<SwingWindow>
org.proto4j.swing.core.desc.WindowDesc

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

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

    INVALID_INT, UNDEFINED
  • Constructor Summary

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

    • WindowDesc

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

    • applyTo

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