Interface INonRecticleJComponent


public interface INonRecticleJComponent
Describes the contract between Non rectangular Jcomponents and Swing layout managers that are aware of non-recticle JComponents.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    resizeBaseRectangle(Rectangle newBaseRectangle)
    resizes the base rectangle -- this triggers the non-rectangleJComponent to change it's preferred size & position to contain the new Rectangle.
  • Method Details

    • getBaseRectangle

      Rectangle getBaseRectangle()
      Returns:
      The largest Rectangle contained by the non-rectangular component.
    • resizeBaseRectangle

      void resizeBaseRectangle(Rectangle newBaseRectangle)
      resizes the base rectangle -- this triggers the non-rectangleJComponent to change it's preferred size & position to contain the new Rectangle.