|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JPanel org.wcb.autohome.EventsPanel
* Project: Alice X10 Home Automation
Filename: $Id: EventsPanel.java,v 1.18 2004/07/22 03:06:49 wbogaardt Exp $
Abstract: Used to display detail information on the events panel and run the
displays the events table.
$Log: EventsPanel.java,v $
Revision 1.18 2004/07/22 03:06:49 wbogaardt
removed deprecated method calls.
Revision 1.17 2004/02/25 21:38:32 wbogaardt
added javadocs and fixed formating for checkstyle report
Revision 1.16 2004/02/01 20:42:48 wbogaardt
removed form panel reference and changed sizing of the split bars
Revision 1.15 2004/01/21 05:29:40 wbogaardt
fixed bug saving file format and added disable monitoring
Revision 1.14 2004/01/18 00:48:31 wbogaardt
refactored out unnecessary code and now have a functional initial design of monitoring panel
Revision 1.13 2004/01/17 07:21:15 wbogaardt
added serialization to run events and allow monitoring of these events to the file system to reload later
Revision 1.12 2004/01/16 22:57:38 wbogaardt
Improved display layout of module panel and added basic monitoring panel
CV: ----------------------------------------------------------------------
Revision 1.11 2004/01/16 19:50:14 wbogaardt
refactored, fixed long standing bug with updating macro panels, add error notification to user for improper device
codes
Revision 1.10 2004/01/16 00:53:34 wbogaardt
Fixed a very obscure bug with the Macro Panel that it didn't added new
x10 devices to the drop down of available x10 device for the macro. Modified Macro triggers to change the events to
integer verses strings cleaner this way.
Revision 1.9 2004/01/15 21:05:17 wbogaardt
major revamp of Modules and interfaces changes overall structure of how information is stored
Revision 1.8 2003/12/30 18:47:40 wbogaardt
made labels so they are internationlized and fixed layout of trigger panel
Revision 1.7 2003/12/30 00:56:45 wbogaardt
added more internationalization to table column names.
Revision 1.6 2003/12/22 20:51:29 wbogaardt
refactored name assignments and formatted code for readability.
Revision 1.5 2003/12/12 23:17:33 wbogaardt
javadoc comments refactored methods so they are more descriptive
Revision 1.4 2003/10/10 22:50:43 wbogaardt
removed error messages and cleaned up format
Revision 1.3 2003/10/10 18:39:09 wbogaardt
changed date time information from a string to a calendar object
Nested Class Summary |
Nested classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary |
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Container |
|
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
EventsPanel()
Creates the events panel with a top component of a table and a bottom component of a detail panel. |
Method Summary | |
void |
addNewRow(IX10Events rowData)
Adds a new row to the table model By taking an IX10Events object |
void |
deleteRow()
This deletes the table row from the table model and then updates the Hash Table to set the Key value(ModuleID) to null; |
RefreshInterface |
getInterface()
This returns an instance of the MessageInterface that is used in this class to control the various messages. |
java.util.Vector |
loadData()
loads the modules and adds them to the table model for the user. |
void |
refresh()
Allows calling of the refresh interface so that it updates the drop down box with the new list of available X10 device modules as entered in the ModulePanel. |
void |
saveAllData()
Save the entire table model into a properties The format for the key is Event.EV+rowNumber= Module type, Description, MODULEID, Action, -------, ACTION TIME ex: Event.EV1=Lamp, Living Room Light, A1, On,-MT-TFS, 15:50 |
void |
setModel(java.util.Vector vTableData)
takes a table vector and puts it into the table model format then refreshes the UI to display the new table information. |
void |
updateRow(IX10Events rowData)
Updates a currently selected row from the details panel information |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
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, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, 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, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public EventsPanel()
Method Detail |
public void setModel(java.util.Vector vTableData)
vTableData
- vector of events to build new table model.public RefreshInterface getInterface()
public void refresh()
refresh
in interface RefreshInterface
public java.util.Vector loadData()
public void deleteRow()
public void addNewRow(IX10Events rowData)
rowData
- added X10Event to table modelpublic void updateRow(IX10Events rowData)
rowData
- X10Event to update to the table model.public void saveAllData()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |