Package PamView
Class PamWaitAnimation
- All Implemented Interfaces:
 ActionListener,Serializable,EventListener
This class, when enabled within a JLayer will grey out a JPanel and show a circular rotating animation. Use this to show a panel is disabled. 
 Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
- Author:
 - Jamie Maculay and Oracle.
 - See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidactionPerformed(ActionEvent arg0) voidbooleanvoidpaint(Graphics g, JComponent c) voidstart()voidstop()Methods inherited from class javax.swing.plaf.LayerUI
addPropertyChangeListener, addPropertyChangeListener, doLayout, eventDispatched, firePropertyChange, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, imageUpdate, installUI, paintImmediately, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removePropertyChangeListener, removePropertyChangeListener, uninstallUI, updateUIMethods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, update 
- 
Constructor Details
- 
PamWaitAnimation
public PamWaitAnimation() 
 - 
 - 
Method Details
- 
paint
 - 
isRunning
public boolean isRunning() - 
actionPerformed
- Specified by:
 actionPerformedin interfaceActionListener
 - 
start
public void start() - 
stop
public void stop() - 
applyPropertyChange
- Overrides:
 applyPropertyChangein classLayerUI<JPanel>
 
 -