Lines Matching refs:side

94      * Return the border color for the given side.
96 private Color getBorderColor(int side) {
97 Object o = attrs.getAttribute(ATTRIBUTES[COLOR][side]);
114 * Return the border width for the given side.
116 private int getBorderWidth(int side) {
119 ATTRIBUTES[STYLE][side]);
124 ATTRIBUTES[WIDTH][side]);
145 * Return the border style for the given side.
147 private Value getBorderStyle(int side) {
149 (BorderStyle) attrs.getAttribute(ATTRIBUTES[STYLE][side]);
157 * Return border shape for {@code side} as if the border has zero interior
160 private Polygon getBorderShape(int side) {
163 if (widths[side] != 0) {
166 shape.addPoint(-widths[(side + 3) % 4], -widths[side]);
167 shape.addPoint(widths[(side + 1) % 4], -widths[side]);
174 * Return the border painter appropriate for the given side.
176 private BorderPainter getBorderPainter(int side) {
177 Value style = getBorderStyle(side);
266 void paint(Polygon shape, Graphics g, Color color, int side);
273 public void paint(Polygon shape, Graphics g, Color color, int side) {
282 public void paint(Polygon shape, Graphics g, Color color, int side) {
326 public void paint(Polygon shape, Graphics g, Color color, int side) {
345 public void paint(Polygon shape, Graphics g, Color color, int side) {
359 * Return the "shadow" border side color.
366 * Return the "light" border side color.
383 public void paint(Polygon shape, Graphics g, Color color, int side) {
388 ((side + 1) % 4 < 2) == (type == Value.GROOVE) ?
405 public void paint(Polygon shape, Graphics g, Color color, int side) {
406 g.setColor(((side + 1) % 4 < 2) == (type == Value.INSET) ?