List of utility methods to do Swing Empty Border
Border | createEmptyBorder(int size) create Empty Border return BorderFactory.createEmptyBorder(size, size, size, size);
|
Border | createInnerBorder(int size) create Inner Border return createInnerBorder(size, null);
|
Border | getAlignBorder() get Align Border return BorderFactory.createEmptyBorder(5, 0, 0, 0);
|
Border | getBigBorder() get Big Border return new EmptyBorder(10, 10, 10, 10); |
Border | getDefaultEmptyBorder() Gets the default empty border. return DEFAULT_EMPTY_BORDER;
|
Border | getEmpty5Border() Returns an empty border of width 5 on all sides. return EMPTY_5_BORDER;
|
Border | getEmptyBorder() get Empty Border if (_emptyBorder == null) { _emptyBorder = new EmptyBorder(1, 1, 1, 1); return _emptyBorder; |
Border | getEmptyBorder(int width) Returns an empty border. return new EmptyBorder(width, width, width, width); |
Border | getRaisedBorder(int innerPadding) get Raised Border Border b1 = BorderFactory.createEmptyBorder(innerPadding, innerPadding, innerPadding, innerPadding);
Border b2 = BorderFactory.createEtchedBorder(EtchedBorder.RAISED);
return BorderFactory.createCompoundBorder(b2, b1);
|
javax.swing.border.Border | makeEmptyBorderResource(int top, int left, int bottom, int right) make Empty Border Resource return new javax.swing.plaf.BorderUIResource.EmptyBorderUIResource(top, left, bottom, right); |