rails.ui.swing
Class Scale
java.lang.Object
rails.ui.swing.Scale
public final class Scale
- extends java.lang.Object
Class Scale holds static information used to scale all GUI elements.
Constructor Summary |
Scale()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scale
public static int scale
fontScale
public static double fontScale
Scale
public Scale()
get
public static int get()
set
public static void set(int scale)
getFontScale
public static double getFontScale()
initFromConfiguration
public static void initFromConfiguration()
fitScreenRes
public static void fitScreenRes()
- Set the scale so that the MasterBoard fits on the screen. Default scale
should be 15 for screen resolutions with height 1000 or more. For less,
scale it down linearly.