Package xj3d.browser
Class ProfilingInfoAction
java.lang.Object
javax.swing.AbstractAction
xj3d.browser.ProfilingInfoAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
,ProfilingListener
An action that prints profiling about the scene.
Currently prints to console. Might be better as a Dialog.
- Version:
- $Revision: 1.3 $
- Author:
- Alan Hudson
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
Constructor Summary
ConstructorsConstructorDescriptionProfilingInfoAction
(org.j3d.util.ErrorReporter console, OGLStandardBrowserCore core) Create an instance of the action class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
An action has been performed.void
The profiling data has changed.Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
ProfilingInfoAction
Create an instance of the action class.- Parameters:
console
- The error reportercore
- The browser core
-
-
Method Details
-
actionPerformed
An action has been performed.- Specified by:
actionPerformed
in interfaceActionListener
- Parameters:
evt
- The event that caused this method to be called.
-
profilingDataChanged
The profiling data has changed. This will happen at the end of each frame render.- Specified by:
profilingDataChanged
in interfaceProfilingListener
- Parameters:
info
- The profiling data
-