return cursorX;
}
+ /**
+ * Sets the current cursor x-position. This is usually handled automatically
+ * by GridLayout.
+ *
+ * @param cursorX
+ */
+ public void setCursorX(int cursorX) {
+ this.cursorX = cursorX;
+ }
+
/**
* Gets the current cursor y-position. The cursor position points the
* position for the next component that is added without specifying its
return cursorY;
}
+ /**
+ * Sets the current cursor y-position. This is usually handled automatically
+ * by GridLayout.
+ *
+ * @param cursorY
+ */
+ public void setCursorY(int cursorY) {
+ this.cursorY = cursorY;
+ }
+
/* Documented in superclass */
public void replaceComponent(Component oldComponent, Component newComponent) {