edu.washington.cs.supple.wlib.java2
Class TestShortcutDisplay

java.lang.Object
  extended byedu.washington.cs.supple.wlib.java2.TestDisplay
      extended byedu.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

Field Summary
protected  javax.swing.JSplitPane navDividerPane
           
protected  NavShortcutPanel navShortcutPanel
           
protected  java.awt.Component originalTopPane
           
protected  javax.swing.JSplitPane primitiveDividerPane
           
protected  PrimitiveShortcutPanel primitiveShortcutPanel
           
protected  boolean showShortcuts
           
 
Fields inherited from class edu.washington.cs.supple.wlib.java2.TestDisplay
curTraceFile, devices, frame, listener, object, panel, recentSolver, uis
 
Constructor Summary
TestShortcutDisplay(UiObject object)
           
 
Method Summary
 void displayFrame(java.awt.Dimension size)
           
protected  java.util.Collection generateFakeShortcuts(Solution solution)
           
 void propertyChange(java.beans.PropertyChangeEvent ev)
           
protected  void setShowShortcuts(boolean show)
           
 void solutionAvailable(Solution solution)
          This method is called when the search comes up with an improvement to the interface -- allows the listener to use the partial results
 
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
 

Field Detail

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
Constructor Detail

TestShortcutDisplay

public TestShortcutDisplay(UiObject object)
Parameters:
object -
Method Detail

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