01: /*
02: * @(#)ResizableSupport.java 3/4/2005
03: *
04: * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved.
05: */
06: package com.jidesoft.swing;
07:
08: import javax.swing.border.Border;
09:
10: /**
11: * An interface to indicate a component support Resizable.
12: */
13: public interface ResizableSupport {
14: /**
15: * Gets the border of the component. Resizing function depends on a non-empty border.
16: *
17: * @return the border.
18: */
19: Border getBorder();
20:
21: /**
22: * Sets the border of the component.
23: *
24: * @param border the border
25: */
26: void setBorder(Border border);
27:
28: /**
29: * Gets the underlying Resizable. Any resizable component should have a Resizable.
30: *
31: * @return the Resizable.
32: */
33: Resizable getResizable();
34: }
|