state.cursorUp(h);
/** * Moves the cursor outwards by the specified number of units. * * @param units the units. * @param edge the edge. */ public void moveCursor(double units, RectangleEdge edge) { if (edge == RectangleEdge.TOP) { cursorUp(units); } else if (edge == RectangleEdge.BOTTOM) { cursorDown(units); } else if (edge == RectangleEdge.LEFT) { cursorLeft(units); } else if (edge == RectangleEdge.RIGHT) { cursorRight(units); } }
/** * Moves the cursor outwards by the specified number of units. * * @param units the units. * @param edge the edge. */ public void moveCursor(double units, RectangleEdge edge) { if (edge == RectangleEdge.TOP) { cursorUp(units); } else if (edge == RectangleEdge.BOTTOM) { cursorDown(units); } else if (edge == RectangleEdge.LEFT) { cursorLeft(units); } else if (edge == RectangleEdge.RIGHT) { cursorRight(units); } }
g2.draw(line); state.cursorUp(ol); } else if (edge.equals(RectangleEdge.BOTTOM)) { Iterator iterator = categories.iterator();
g2.draw(line); state.cursorUp(ol);
state.cursorUp(Math.max(outsideLength, this.minorTickMarkOutsideLength));
state.cursorUp(Math.max(outsideLength, this.minorTickMarkOutsideLength));
(float) labely, TextAnchor.CENTER, getLabelAngle(), TextAnchor.CENTER); state.cursorUp(insets.getTop() + labelBounds.getHeight() + insets.getBottom());
state.cursorUp(h);
state.cursorUp(h);
TextUtils.drawRotatedString(label, g2, (float) labelx, (float) labely, anchor, getLabelAngle(), TextAnchor.CENTER); state.cursorUp(insets.getTop() + labelBounds.getHeight() + insets.getBottom());
AttrStringUtils.drawRotatedString(label, g2, (float) labelx, (float) labely, anchor, getLabelAngle(), TextAnchor.CENTER); state.cursorUp(insets.getTop() + labelBounds.getHeight() + insets.getBottom());
used = findMaximumTickLabelHeight(ticks, g2, plotArea, isVerticalTickLabels()); state.cursorUp(used);
used = findMaximumTickLabelHeight(ticks, g2, plotArea, isVerticalTickLabels()); state.cursorUp(used); } else if (edge == RectangleEdge.BOTTOM) { used = findMaximumTickLabelHeight(ticks, g2, plotArea,
state.cursorUp(h);