Class PositionDesc

java.lang.Object
org.proto4j.swing.core.desc.GenericDesc<Position>
org.proto4j.swing.core.desc.PositionDesc

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

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

    INVALID_INT, UNDEFINED
  • Constructor Summary

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

    • PositionDesc

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

    • applyTo

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