*/
public final class SwingBackend extends GenericBackend {
+ // ------------------------------------------------------------------------
+ // Constructors -----------------------------------------------------------
+ // ------------------------------------------------------------------------
+
/**
* Public constructor. The window will be 80x25 with font size 20 pts.
*/
screen = (SwingTerminal) terminal;
}
+ // ------------------------------------------------------------------------
+ // SwingBackend -----------------------------------------------------------
+ // ------------------------------------------------------------------------
+
/**
* Set to a new font, and resize the screen to match its dimensions.
*
((SwingTerminal) terminal).setFont(font);
}
+ /**
+ * Get the number of millis to wait before switching the blink from
+ * visible to invisible.
+ *
+ * @return the number of milli to wait before switching the blink from
+ * visible to invisible
+ */
+ public long getBlinkMillis() {
+ return ((SwingTerminal) terminal).getBlinkMillis();
+ }
+
}