edu.washington.cs.supple.wlib.java2
Class TestShortcutDisplay
java.lang.Object
edu.washington.cs.supple.wlib.java2.TestDisplay
edu.washington.cs.supple.wlib.java2.TestShortcutDisplay
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener, java.beans.PropertyChangeListener, SolverListener
- public class TestShortcutDisplay
- extends TestDisplay
- implements SolverListener, java.beans.PropertyChangeListener
- Author:
- kgajos
Methods inherited from class edu.washington.cs.supple.wlib.java2.TestDisplay |
actionPerformed, addDevice, addUiExample, buildCostMenu, buildDeviceMenu, buildFeaturesMenu, buildLFMenu, buildMeasurementMenu, buildMenuBar, buildReferenceUIPanel, buildRenderingMenu, buildShortcutMenu, buildSizeMenu, buildTraceMenu, buildUiMenu, loadTrace, refresh, refreshCostFunction, saveTrace, saveTraceAs, showRenderedUiProperties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
navShortcutPanel
protected NavShortcutPanel navShortcutPanel
primitiveShortcutPanel
protected PrimitiveShortcutPanel primitiveShortcutPanel
navDividerPane
protected javax.swing.JSplitPane navDividerPane
primitiveDividerPane
protected javax.swing.JSplitPane primitiveDividerPane
showShortcuts
protected boolean showShortcuts
originalTopPane
protected java.awt.Component originalTopPane
TestShortcutDisplay
public TestShortcutDisplay(UiObject object)
- Parameters:
object
-
solutionAvailable
public void solutionAvailable(Solution solution)
- Description copied from interface:
SolverListener
- This method is called when the search comes up with an
improvement to the interface -- allows the listener to use the
partial results
- Specified by:
solutionAvailable
in interface SolverListener
generateFakeShortcuts
protected java.util.Collection generateFakeShortcuts(Solution solution)
displayFrame
public void displayFrame(java.awt.Dimension size)
- Overrides:
displayFrame
in class TestDisplay
setShowShortcuts
protected void setShowShortcuts(boolean show)
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent ev)
- Specified by:
propertyChange
in interface java.beans.PropertyChangeListener