/** Paints the center line in the property sheet if an alternate * color has been specified, so the divider is visible */ private void paintCenterLine (Graphics g) { Color c = PropUtils.getAltBg(); g.setColor (c); int xpos = getColumn(SheetColumnModel.NAMES_IDENTIFIER).getWidth()-1; g.drawLine (xpos, 0, xpos, getHeight()); }
/** Paints the center line in the property sheet if an alternate * color has been specified, so the divider is visible */ private void paintCenterLine(Graphics g) { Color c = PropUtils.getAltBg(); g.setColor(c); int xpos = getColumn(SheetColumnModel.NAMES_IDENTIFIER).getWidth() - 1; g.drawLine(xpos, 0, xpos, getHeight()); }
/** Paints the center line in the property sheet if an alternate * color has been specified, so the divider is visible */ private void paintCenterLine (Graphics g) { Color c = PropUtils.getAltBg(); g.setColor (c); int xpos = getColumn(SheetColumnModel.NAMES_IDENTIFIER).getWidth()-1; g.drawLine (xpos, 0, xpos, getHeight()); }
/** Paint the outside margin where the spinners for expandable * sets are. This should be derived from the standard control * color. This method will overpaint the grid lines in this * area. */ private void paintMargin (Graphics g) { //Don't paint the margin for sorted modes //fill the outer column with the set renderer color, per UI spec g.setColor (PropUtils.getSetRendererColor()); int w = PropUtils.getMarginWidth(); int h = getHeight(); if (g.hitClip(0,0,w,h)) { g.fillRect (0,0,w,h); } }
/** Paint the outside margin where the spinners for expandable * sets are. This should be derived from the standard control * color. This method will overpaint the grid lines in this * area. */ private void paintMargin(Graphics g) { //Don't paint the margin for sorted modes //fill the outer column with the set renderer color, per UI spec g.setColor(PropUtils.getSetRendererColor()); int w = PropUtils.getMarginWidth(); int h = getHeight(); if (g.hitClip(0, 0, w, h)) { g.fillRect(0, 0, w, h); } }
/** Paint the outside margin where the spinners for expandable * sets are. This should be derived from the standard control * color. This method will overpaint the grid lines in this * area. */ private void paintMargin (Graphics g) { //Don't paint the margin for sorted modes //fill the outer column with the set renderer color, per UI spec g.setColor (PropUtils.getSetRendererColor()); int w = PropUtils.getMarginWidth(); int h = getHeight(); if (g.hitClip(0,0,w,h)) { g.fillRect (0,0,w,h); } }