/** * Only called by paintBorder() */ protected void paintLeft(Component c, Graphics g, int x, int y, int width, int height) { if (tileIcons.length == 8) { paint(tileIcons[7], c, g, x, y, width, height); } else { Icon icon = tileIcons[1]; /** @todo Rotate -270 and paint icon */ } }
/** * Only called by paintBorder() */ protected void paintBottomLeft(Component c, Graphics g, int x, int y, int width, int height) { if (tileIcons.length == 8) { paint(tileIcons[6], c, g, x, y, width, height); } else { Icon icon = tileIcons[0]; /** @todo Rotate -270 and paint icon */ } }
/** * Only called by paintBorder() */ protected void paintRight(Component c, Graphics g, int x, int y, int width, int height) { if (tileIcons.length == 8) { paint(tileIcons[3], c, g, x, y, width, height); } else { Icon icon = tileIcons[1]; /** @todo Rotate -90 and paint icon */ } }
/** * Only called by paintBorder() */ protected void paintBottom(Component c, Graphics g, int x, int y, int width, int height) { if (tileIcons.length == 8) { paint(tileIcons[5], c, g, x, y, width, height); } else { Icon icon = tileIcons[1]; /** @todo Rotate -180 and paint icon */ } }
/** * Only called by paintBorder() */ protected void paintTop(Component c, Graphics g, int x, int y, int width, int height) { paint(tileIcons[1], c, g, x, y, width, height); }
/** * Only called by paintBorder() */ protected void paintBottom(Component c, Graphics g, int x, int y, int width, int height) { if (tileIcons.length == 8) { paint(tileIcons[5], c, g, x, y, width, height); } else { Icon icon = tileIcons[1]; /** @todo Rotate -180 and paint icon */ } }
/** * Only called by paintBorder() */ protected void paintBottomRight(Component c, Graphics g, int x, int y, int width, int height) { if (tileIcons.length == 8) { paint(tileIcons[4], c, g, x, y, width, height); } else { Icon icon = tileIcons[0]; /** @todo Rotate -180 and paint icon */ } }
/** * Only called by paintBorder() */ protected void paintRight(Component c, Graphics g, int x, int y, int width, int height) { if (tileIcons.length == 8) { paint(tileIcons[3], c, g, x, y, width, height); } else { Icon icon = tileIcons[1]; /** @todo Rotate -90 and paint icon */ } }
/** * Only called by paintBorder() */ protected void paintTopRight(Component c, Graphics g, int x, int y, int width, int height) { if (tileIcons.length == 8) { paint(tileIcons[2], c, g, x, y, width, height); } else { Icon icon = tileIcons[0]; /** @todo Rotate -90 and paint icon */ } }
/** * Only called by paintBorder() */ protected void paintBottomLeft(Component c, Graphics g, int x, int y, int width, int height) { if (tileIcons.length == 8) { paint(tileIcons[6], c, g, x, y, width, height); } else { Icon icon = tileIcons[0]; /** @todo Rotate -270 and paint icon */ } }
/** * Only called by paintBorder() */ protected void paintRight(Component c, Graphics g, int x, int y, int width, int height) { if (tileIcons.length == 8) { paint(tileIcons[3], c, g, x, y, width, height); } else { Icon icon = tileIcons[1]; /** @todo Rotate -90 and paint icon */ } }
/** * Only called by paintBorder() */ protected void paintBottom(Component c, Graphics g, int x, int y, int width, int height) { if (tileIcons.length == 8) { paint(tileIcons[5], c, g, x, y, width, height); } else { Icon icon = tileIcons[1]; /** @todo Rotate -180 and paint icon */ } }
/** * Only called by paintBorder() */ protected void paintTopRight(Component c, Graphics g, int x, int y, int width, int height) { if (tileIcons.length == 8) { paint(tileIcons[2], c, g, x, y, width, height); } else { Icon icon = tileIcons[0]; /** @todo Rotate -90 and paint icon */ } }
/** * Only called by paintBorder() */ protected void paintBottomRight(Component c, Graphics g, int x, int y, int width, int height) { if (tileIcons.length == 8) { paint(tileIcons[4], c, g, x, y, width, height); } else { Icon icon = tileIcons[0]; /** @todo Rotate -180 and paint icon */ } }
/** * Only called by paintBorder() */ protected void paintTop(Component c, Graphics g, int x, int y, int width, int height) { paint(tileIcons[1], c, g, x, y, width, height); }
/** * Only called by paintBorder() */ protected void paintTopRight(Component c, Graphics g, int x, int y, int width, int height) { if (tileIcons.length == 8) { paint(tileIcons[2], c, g, x, y, width, height); } else { Icon icon = tileIcons[0]; /** @todo Rotate -90 and paint icon */ } }
/** * Only called by paintBorder() */ protected void paintBottomLeft(Component c, Graphics g, int x, int y, int width, int height) { if (tileIcons.length == 8) { paint(tileIcons[6], c, g, x, y, width, height); } else { Icon icon = tileIcons[0]; /** @todo Rotate -270 and paint icon */ } }
/** * Only called by paintBorder() */ protected void paintBottom(Component c, Graphics g, int x, int y, int width, int height) { if (tileIcons.length == 8) { paint(tileIcons[5], c, g, x, y, width, height); } else { Icon icon = tileIcons[1]; /** @todo Rotate -180 and paint icon */ } }
/** * Only called by paintBorder() */ protected void paintLeft(Component c, Graphics g, int x, int y, int width, int height) { if (tileIcons.length == 8) { paint(tileIcons[7], c, g, x, y, width, height); } else { Icon icon = tileIcons[1]; /** @todo Rotate -270 and paint icon */ } }
/** * Only called by paintBorder() */ protected void paintBottomLeft(Component c, Graphics g, int x, int y, int width, int height) { if (tileIcons.length == 8) { paint(tileIcons[6], c, g, x, y, width, height); } else { Icon icon = tileIcons[0]; /** @todo Rotate -270 and paint icon */ } }