cutting v0.0.1
[nikiroo-utils.git] / src / jexer / session / AWTSessionInfo.java
index 5a806cfd36a86c8d73e962b800ab273bccb4135c..088da9e009ea3c459163124008cab2b57a804f60 100644 (file)
@@ -162,26 +162,4 @@ public final class AWTSessionInfo implements SessionInfo {
 
     }
 
-    /**
-     * Convert pixel column position to text cell column position.
-     *
-     * @param x pixel column position
-     * @return text cell column position
-     */
-    public int textColumn(final int x) {
-        Insets insets = frame.getInsets();
-        return ((x - insets.left) / textWidth);
-    }
-
-    /**
-     * Convert pixel row position to text cell row position.
-     *
-     * @param y pixel row position
-     * @return text cell row position
-     */
-    public int textRow(final int y) {
-        Insets insets = frame.getInsets();
-        return ((y - insets.top) / textHeight);
-    }
-
 }