org.sourcejammer.client.gui.action
Class ChangeLookAndFeelAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--org.sourcejammer.client.gui.action.ChangeLookAndFeelAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
Direct Known Subclasses:
KLookAndFeel, MetalLAFAction, MotifLAFAction, WindowsLAFAction

public abstract class ChangeLookAndFeelAction
extends javax.swing.AbstractAction

Abstract super-class for Look and feel selection actions.

See Also:
Serialized Form

Field Summary
private static java.lang.Integer currentLAF
           
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
ChangeLookAndFeelAction()
           
ChangeLookAndFeelAction(java.lang.String name)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ev)
           
protected abstract  java.lang.Integer getActionIdentifier()
           
private static java.lang.Integer getCurrentLAF()
           
protected abstract  java.lang.String getLookAndFeelName()
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentLAF

private static java.lang.Integer currentLAF
Constructor Detail

ChangeLookAndFeelAction

public ChangeLookAndFeelAction()

ChangeLookAndFeelAction

public ChangeLookAndFeelAction(java.lang.String name)
Method Detail

getCurrentLAF

private static java.lang.Integer getCurrentLAF()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ev)

getLookAndFeelName

protected abstract java.lang.String getLookAndFeelName()

getActionIdentifier

protected abstract java.lang.Integer getActionIdentifier()


Copyright 2003 Soucejammer project.