Class BoundsDesc

java.lang.Object
org.proto4j.swing.core.desc.GenericDesc<Bounds>
org.proto4j.swing.core.desc.BoundsDesc

public class BoundsDesc
extends GenericDesc<Bounds>
  • Field Summary

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

    INVALID_INT, UNDEFINED
  • Constructor Summary

    Constructors 
    Constructor Description
    BoundsDesc()
    Creates a new GenericDesc from the given annotation class.
  • 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

    • BoundsDesc

      public BoundsDesc()
      Creates a new GenericDesc from the given annotation class.
      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<Bounds>
      Parameters:
      component - the Component reference