jmri.util.swing
Class SwingSettings

java.lang.Object
  extended by jmri.util.swing.SwingSettings

public class SwingSettings
extends Object

Settings for e.g. workarounds, etc.

By convention, "false" is the default, usual behavior for these.

nonStandardMouseEvent
By default, the mouseClick event fires actions in the program. Certain HP touch pads and other devices only provide mousePressed and mouseReleased events, though, so if true this item will cause JMRI code that's looking for mouse events to fire actions on mouseReleased. This will make those devices work, but will really annoy Mac and Linux users.

Since:
2.9.4
Author:
Bob Jacobsen Copyright 2010

Constructor Summary
SwingSettings()
           
 
Method Summary
static boolean getNonStandardMouseEvent()
           
static void setNonStandardMouseEvent(boolean v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingSettings

public SwingSettings()
Method Detail

getNonStandardMouseEvent

public static boolean getNonStandardMouseEvent()

setNonStandardMouseEvent

public static void setNonStandardMouseEvent(boolean v)


Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads