806 |
*/ |
*/ |
807 |
public MarginBorder() |
public MarginBorder() |
808 |
{ |
{ |
809 |
|
// Nothing to do here. |
810 |
} |
} |
811 |
|
|
|
|
|
812 |
/** |
/** |
813 |
* Measures the width of this border. |
* Measures the width of this border. |
814 |
* |
* |
1313 |
* |
* |
1314 |
* @author Sascha Brawer (brawer@dandelis.ch) |
* @author Sascha Brawer (brawer@dandelis.ch) |
1315 |
*/ |
*/ |
1316 |
public static class SplitPaneBorder |
public static class SplitPaneBorder implements Border, UIResource |
|
implements Border, UIResource |
|
1317 |
{ |
{ |
1318 |
/** |
/** |
1319 |
* Indicates that the top edge shall be not be painted |
* Indicates that the top edge shall be not be painted |
1320 |
* by {@link #paintRect(java.awt.Graphics, int, int, int, int, int)}. |
* by {@link #paintRect}. |
1321 |
*/ |
*/ |
1322 |
private static final int SUPPRESS_TOP = 1; |
private static final int SUPPRESS_TOP = 1; |
1323 |
|
|
1324 |
|
|
1325 |
/** |
/** |
1326 |
* Indicates that the left edge shall be not be painted |
* Indicates that the left edge shall be not be painted |
1327 |
* by {@link #paintRect(java.awt.Graphics, int, int, int, int, int)}. |
* by {@link #paintRect}. |
1328 |
*/ |
*/ |
1329 |
private static final int SUPPRESS_LEFT = 2; |
private static final int SUPPRESS_LEFT = 2; |
1330 |
|
|
1331 |
|
|
1332 |
/** |
/** |
1333 |
* Indicates that the bottom edge shall be not be painted |
* Indicates that the bottom edge shall be not be painted |
1334 |
* by {@link #paintRect(java.awt.Graphics, int, int, int, int, int)}. |
* by {@link #paintRect}. |
1335 |
*/ |
*/ |
1336 |
private static final int SUPPRESS_BOTTOM = 4; |
private static final int SUPPRESS_BOTTOM = 4; |
1337 |
|
|
1338 |
|
|
1339 |
/** |
/** |
1340 |
* Indicates that the right edge shall be not be painted |
* Indicates that the right edge shall be not be painted |
1341 |
* by {@link #paintRect(java.awt.Graphics, int, int, int, int, int)}. |
* by {@link #paintRect}. |
1342 |
*/ |
*/ |
1343 |
private static final int SUPPRESS_RIGHT = 8; |
private static final int SUPPRESS_RIGHT = 8; |
1344 |
|
|