public class ModelPerformanceChart extends JPanel implements ThresholdDataListener, VisualizableErrorListener, Visible, UserRequestAcceptor, Serializable, BeanContextChild
JPanel.AccessibleJPanel
JComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
Modifier and Type | Field and Description |
---|---|
protected BeanContextChildSupport |
m_bcSupport
BeanContextChild support
|
protected BeanContext |
m_beanContext
BeanContex that this bean might be contained within
|
protected boolean |
m_design
True if this bean's appearance is the design mode appearance
|
protected boolean |
m_framePoppedUp |
protected PlotData2D |
m_masterPlot |
protected JFrame |
m_popupFrame |
protected BeanVisual |
m_visual |
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
ModelPerformanceChart() |
Modifier and Type | Method and Description |
---|---|
void |
acceptDataSet(ThresholdDataEvent e)
Display a threshold curve.
|
void |
acceptDataSet(VisualizableErrorEvent e)
Display a scheme error plot.
|
void |
addPropertyChangeListener(String name,
PropertyChangeListener pcl)
Add a property change listener to this bean
|
void |
addVetoableChangeListener(String name,
VetoableChangeListener vcl)
Add a vetoable change listener to this bean
|
protected void |
appearanceDesign() |
protected void |
appearanceFinal() |
Enumeration |
enumerateRequests()
Describe
enumerateRequests method here. |
BeanContext |
getBeanContext()
Return the bean context (if any) that this bean is embedded in
|
BeanVisual |
getVisual()
Return the visual appearance of this bean
|
String |
globalInfo()
Global info for this bean
|
static void |
main(String[] args) |
void |
performRequest(String request)
Describe
performRequest method here. |
void |
removePropertyChangeListener(String name,
PropertyChangeListener pcl)
Remove a property change listener from this bean
|
void |
removeVetoableChangeListener(String name,
VetoableChangeListener vcl)
Remove a vetoable change listener from this bean
|
void |
setBeanContext(BeanContext bc)
Set a bean context for this bean
|
protected void |
setUpFinal() |
void |
setVisual(BeanVisual newVisual)
Set the visual appearance of this bean
|
void |
useDefaultVisual()
Use the default appearance for this bean
|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
protected BeanVisual m_visual
protected transient PlotData2D m_masterPlot
protected transient JFrame m_popupFrame
protected boolean m_framePoppedUp
protected boolean m_design
protected transient BeanContext m_beanContext
protected BeanContextChildSupport m_bcSupport
public String globalInfo()
String
valueprotected void appearanceDesign()
protected void appearanceFinal()
protected void setUpFinal()
public void acceptDataSet(ThresholdDataEvent e)
acceptDataSet
in interface ThresholdDataListener
e
- a ThresholdDataEventpublic void acceptDataSet(VisualizableErrorEvent e)
acceptDataSet
in interface VisualizableErrorListener
e
- a VisualizableErrorEventpublic void setVisual(BeanVisual newVisual)
public BeanVisual getVisual()
public void useDefaultVisual()
useDefaultVisual
in interface Visible
public Enumeration enumerateRequests()
enumerateRequests
method here.enumerateRequests
in interface UserRequestAcceptor
Enumeration
valuepublic void addPropertyChangeListener(String name, PropertyChangeListener pcl)
addPropertyChangeListener
in interface BeanContextChild
addPropertyChangeListener
in class Container
name
- the name of the property of interestpcl
- a PropertyChangeListener
valuepublic void removePropertyChangeListener(String name, PropertyChangeListener pcl)
removePropertyChangeListener
in interface BeanContextChild
removePropertyChangeListener
in class Component
name
- the name of the property of interestpcl
- a PropertyChangeListener
valuepublic void addVetoableChangeListener(String name, VetoableChangeListener vcl)
addVetoableChangeListener
in interface BeanContextChild
name
- the name of the property of interestvcl
- a VetoableChangeListener
valuepublic void removeVetoableChangeListener(String name, VetoableChangeListener vcl)
removeVetoableChangeListener
in interface BeanContextChild
name
- the name of the property of interestvcl
- a VetoableChangeListener
valuepublic void setBeanContext(BeanContext bc)
setBeanContext
in interface BeanContextChild
bc
- a BeanContext
valuepublic BeanContext getBeanContext()
getBeanContext
in interface BeanContextChild
BeanContext
valuepublic void performRequest(String request)
performRequest
method here.performRequest
in interface UserRequestAcceptor
request
- a String
valueIllegalArgumentException
- if an error occurspublic static void main(String[] args)
Copyright © 2015 University of Waikato, Hamilton, NZ. All rights reserved.