org.jvnet.substance
Class SubstanceScrollBarUI.PolicyChanger

java.lang.Object
  extended by org.jvnet.substance.SubstanceScrollBarUI.PolicyChanger
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener
Enclosing class:
SubstanceScrollBarUI

protected class SubstanceScrollBarUI.PolicyChanger
extends java.lang.Object
implements java.awt.event.ActionListener

Listener on policy change menu items in debug UI mode.

Author:
Kirill Grouchnikov

Field Summary
protected  SubstanceConstants.ScrollPaneButtonPolicyKind newPolicy
          Policy to set.
 
Constructor Summary
SubstanceScrollBarUI.PolicyChanger(SubstanceConstants.ScrollPaneButtonPolicyKind newPolicy)
          Creates a new policy change listener.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

newPolicy

protected SubstanceConstants.ScrollPaneButtonPolicyKind newPolicy
Policy to set.

Constructor Detail

SubstanceScrollBarUI.PolicyChanger

public SubstanceScrollBarUI.PolicyChanger(SubstanceConstants.ScrollPaneButtonPolicyKind newPolicy)
Creates a new policy change listener.

Parameters:
newPolicy - Policy to set.
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener