Package net.sf.colossus.guiutil
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 TypeMethodDescriptionvoid
resizeBaseRectangle
(Rectangle newBaseRectangle) resizes the base rectangle -- this triggers the non-rectangleJComponent to change it's preferred size invalid input: '&' position to contain the new Rectangle.
-
Method Details
-
getBaseRectangle
Rectangle getBaseRectangle()- Returns:
- The largest Rectangle contained by the non-rectangular component.
-
resizeBaseRectangle
resizes the base rectangle -- this triggers the non-rectangleJComponent to change it's preferred size invalid input: '&' position to contain the new Rectangle.
-