edu.washington.cs.supple.wlib.java2
Class TestSimpleShortcutDisplay
java.lang.Object
edu.washington.cs.supple.wlib.java2.TestDisplay
edu.washington.cs.supple.wlib.java2.TestSimpleShortcutDisplay
- All Implemented Interfaces:
- java.awt.event.ActionListener, AdaptivePanelVisitor, java.util.EventListener, java.beans.PropertyChangeListener
- public class TestSimpleShortcutDisplay
- extends TestDisplay
- implements java.beans.PropertyChangeListener, AdaptivePanelVisitor
- 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
showShortcuts
protected boolean showShortcuts
TestSimpleShortcutDisplay
public TestSimpleShortcutDisplay(UiObject object)
- Parameters:
object -
displayFrame
public void displayFrame(java.awt.Dimension size)
- Overrides:
displayFrame in class TestDisplay
generateFakeShortcuts
protected java.util.Collection generateFakeShortcuts(Solution solution)
setShowShortcuts
protected void setShowShortcuts(boolean show)
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent ev)
- Specified by:
propertyChange in interface java.beans.PropertyChangeListener
augmentComponent
public java.awt.Component augmentComponent(java.awt.Component c,
Solution solution,
java.awt.Dimension panelSize)
- Description copied from interface:
AdaptivePanelVisitor
- Allows the visitor to augment the contents before they are displayed
- Specified by:
augmentComponent in interface AdaptivePanelVisitor
- Parameters:
c - component to be displayedsolution - the solution object corresponding to the currently displayed
componentpanelSize - the size of the panel
- Returns:
- augmented component