From 69f0e6b0bf0dc0a6c6fe8ccf17c74960697ca10c Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 8 Feb 2009 01:37:25 +0000 Subject: 1.0 released --- javadoc/allclasses-frame.html | 74 ++ javadoc/allclasses-noframe.html | 74 ++ javadoc/client/CalendarTableCellRenderer.html | 398 ++++++++ javadoc/client/CalendarTableModel.html | 777 +++++++++++++++ javadoc/client/NetCalendarClient.html | 562 +++++++++++ javadoc/client/ServerRequester.html | 264 +++++ .../class-use/CalendarTableCellRenderer.html | 136 +++ javadoc/client/class-use/CalendarTableModel.html | 170 ++++ javadoc/client/class-use/NetCalendarClient.html | 196 ++++ javadoc/client/class-use/ServerRequester.html | 136 +++ javadoc/client/helper/DateSpinner.html | 365 +++++++ javadoc/client/helper/GUIHelper.html | 319 ++++++ javadoc/client/helper/class-use/DateSpinner.html | 136 +++ javadoc/client/helper/class-use/GUIHelper.html | 136 +++ javadoc/client/helper/package-frame.html | 34 + javadoc/client/helper/package-summary.html | 152 +++ javadoc/client/helper/package-tree.html | 153 +++ javadoc/client/helper/package-use.html | 136 +++ javadoc/client/inputforms/AdvancedSearching.html | 348 +++++++ javadoc/client/inputforms/CreateNewEvent.html | 346 +++++++ javadoc/client/inputforms/EditExistingEvent.html | 348 +++++++ javadoc/client/inputforms/InputForm.html | 350 +++++++ javadoc/client/inputforms/Preferences.html | 346 +++++++ .../inputforms/class-use/AdvancedSearching.html | 136 +++ .../inputforms/class-use/CreateNewEvent.html | 136 +++ .../inputforms/class-use/EditExistingEvent.html | 136 +++ javadoc/client/inputforms/class-use/InputForm.html | 196 ++++ .../client/inputforms/class-use/Preferences.html | 136 +++ javadoc/client/inputforms/package-frame.html | 40 + javadoc/client/inputforms/package-summary.html | 164 ++++ javadoc/client/inputforms/package-tree.html | 161 ++++ javadoc/client/inputforms/package-use.html | 162 ++++ javadoc/client/package-frame.html | 38 + javadoc/client/package-summary.html | 161 ++++ javadoc/client/package-tree.html | 171 ++++ javadoc/client/package-use.html | 181 ++++ javadoc/constant-values.html | 272 ++++++ javadoc/deprecated-list.html | 134 +++ javadoc/help-doc.html | 193 ++++ javadoc/index-files/index-1.html | 158 +++ javadoc/index-files/index-10.html | 140 +++ javadoc/index-files/index-11.html | 140 +++ javadoc/index-files/index-12.html | 180 ++++ javadoc/index-files/index-13.html | 239 +++++ javadoc/index-files/index-14.html | 143 +++ javadoc/index-files/index-15.html | 147 +++ javadoc/index-files/index-16.html | 137 +++ javadoc/index-files/index-17.html | 137 +++ javadoc/index-files/index-2.html | 178 ++++ javadoc/index-files/index-3.html | 159 +++ javadoc/index-files/index-4.html | 140 +++ javadoc/index-files/index-5.html | 143 +++ javadoc/index-files/index-6.html | 241 +++++ javadoc/index-files/index-7.html | 138 +++ javadoc/index-files/index-8.html | 149 +++ javadoc/index-files/index-9.html | 186 ++++ javadoc/index.html | 26 + javadoc/overview-frame.html | 52 + javadoc/overview-summary.html | 164 ++++ javadoc/overview-tree.html | 192 ++++ javadoc/package-list | 6 + javadoc/packages.html | 31 + javadoc/resources/inherit.gif | Bin 0 -> 57 bytes javadoc/serialized-form.html | 1016 ++++++++++++++++++++ javadoc/server/CalendarDatabase.html | 439 +++++++++ javadoc/server/CalendarFormatParser.html | 311 ++++++ javadoc/server/NetCalendarServer.html | 296 ++++++ javadoc/server/class-use/CalendarDatabase.html | 136 +++ javadoc/server/class-use/CalendarFormatParser.html | 136 +++ javadoc/server/class-use/NetCalendarServer.html | 136 +++ javadoc/server/package-frame.html | 36 + javadoc/server/package-summary.html | 156 +++ javadoc/server/package-tree.html | 148 +++ javadoc/server/package-use.html | 136 +++ javadoc/shared/CalendarCategory.html | 522 ++++++++++ javadoc/shared/CalendarEvent.html | 809 ++++++++++++++++ javadoc/shared/Config.html | 491 ++++++++++ javadoc/shared/Main.html | 331 +++++++ javadoc/shared/MyDate.html | 298 ++++++ javadoc/shared/MyVector.html | 295 ++++++ javadoc/shared/class-use/CalendarCategory.html | 231 +++++ javadoc/shared/class-use/CalendarEvent.html | 335 +++++++ javadoc/shared/class-use/Config.html | 136 +++ javadoc/shared/class-use/Main.html | 136 +++ javadoc/shared/class-use/MyDate.html | 172 ++++ javadoc/shared/class-use/MyVector.html | 136 +++ javadoc/shared/package-frame.html | 42 + javadoc/shared/package-summary.html | 169 ++++ javadoc/shared/package-tree.html | 158 +++ javadoc/shared/package-use.html | 256 +++++ javadoc/shared/remotecall/ClientRequest.html | 794 +++++++++++++++ javadoc/shared/remotecall/RemoteCall.html | 232 +++++ javadoc/shared/remotecall/ServerResponse.html | 273 ++++++ .../shared/remotecall/class-use/ClientRequest.html | 263 +++++ .../shared/remotecall/class-use/RemoteCall.html | 181 ++++ .../remotecall/class-use/ServerResponse.html | 188 ++++ javadoc/shared/remotecall/package-frame.html | 36 + javadoc/shared/remotecall/package-summary.html | 157 +++ javadoc/shared/remotecall/package-tree.html | 149 +++ javadoc/shared/remotecall/package-use.html | 228 +++++ javadoc/stylesheet.css | 29 + 101 files changed, 21592 insertions(+) create mode 100644 javadoc/allclasses-frame.html create mode 100644 javadoc/allclasses-noframe.html create mode 100644 javadoc/client/CalendarTableCellRenderer.html create mode 100644 javadoc/client/CalendarTableModel.html create mode 100644 javadoc/client/NetCalendarClient.html create mode 100644 javadoc/client/ServerRequester.html create mode 100644 javadoc/client/class-use/CalendarTableCellRenderer.html create mode 100644 javadoc/client/class-use/CalendarTableModel.html create mode 100644 javadoc/client/class-use/NetCalendarClient.html create mode 100644 javadoc/client/class-use/ServerRequester.html create mode 100644 javadoc/client/helper/DateSpinner.html create mode 100644 javadoc/client/helper/GUIHelper.html create mode 100644 javadoc/client/helper/class-use/DateSpinner.html create mode 100644 javadoc/client/helper/class-use/GUIHelper.html create mode 100644 javadoc/client/helper/package-frame.html create mode 100644 javadoc/client/helper/package-summary.html create mode 100644 javadoc/client/helper/package-tree.html create mode 100644 javadoc/client/helper/package-use.html create mode 100644 javadoc/client/inputforms/AdvancedSearching.html create mode 100644 javadoc/client/inputforms/CreateNewEvent.html create mode 100644 javadoc/client/inputforms/EditExistingEvent.html create mode 100644 javadoc/client/inputforms/InputForm.html create mode 100644 javadoc/client/inputforms/Preferences.html create mode 100644 javadoc/client/inputforms/class-use/AdvancedSearching.html create mode 100644 javadoc/client/inputforms/class-use/CreateNewEvent.html create mode 100644 javadoc/client/inputforms/class-use/EditExistingEvent.html create mode 100644 javadoc/client/inputforms/class-use/InputForm.html create mode 100644 javadoc/client/inputforms/class-use/Preferences.html create mode 100644 javadoc/client/inputforms/package-frame.html create mode 100644 javadoc/client/inputforms/package-summary.html create mode 100644 javadoc/client/inputforms/package-tree.html create mode 100644 javadoc/client/inputforms/package-use.html create mode 100644 javadoc/client/package-frame.html create mode 100644 javadoc/client/package-summary.html create mode 100644 javadoc/client/package-tree.html create mode 100644 javadoc/client/package-use.html create mode 100644 javadoc/constant-values.html create mode 100644 javadoc/deprecated-list.html create mode 100644 javadoc/help-doc.html create mode 100644 javadoc/index-files/index-1.html create mode 100644 javadoc/index-files/index-10.html create mode 100644 javadoc/index-files/index-11.html create mode 100644 javadoc/index-files/index-12.html create mode 100644 javadoc/index-files/index-13.html create mode 100644 javadoc/index-files/index-14.html create mode 100644 javadoc/index-files/index-15.html create mode 100644 javadoc/index-files/index-16.html create mode 100644 javadoc/index-files/index-17.html create mode 100644 javadoc/index-files/index-2.html create mode 100644 javadoc/index-files/index-3.html create mode 100644 javadoc/index-files/index-4.html create mode 100644 javadoc/index-files/index-5.html create mode 100644 javadoc/index-files/index-6.html create mode 100644 javadoc/index-files/index-7.html create mode 100644 javadoc/index-files/index-8.html create mode 100644 javadoc/index-files/index-9.html create mode 100644 javadoc/index.html create mode 100644 javadoc/overview-frame.html create mode 100644 javadoc/overview-summary.html create mode 100644 javadoc/overview-tree.html create mode 100644 javadoc/package-list create mode 100644 javadoc/packages.html create mode 100644 javadoc/resources/inherit.gif create mode 100644 javadoc/serialized-form.html create mode 100644 javadoc/server/CalendarDatabase.html create mode 100644 javadoc/server/CalendarFormatParser.html create mode 100644 javadoc/server/NetCalendarServer.html create mode 100644 javadoc/server/class-use/CalendarDatabase.html create mode 100644 javadoc/server/class-use/CalendarFormatParser.html create mode 100644 javadoc/server/class-use/NetCalendarServer.html create mode 100644 javadoc/server/package-frame.html create mode 100644 javadoc/server/package-summary.html create mode 100644 javadoc/server/package-tree.html create mode 100644 javadoc/server/package-use.html create mode 100644 javadoc/shared/CalendarCategory.html create mode 100644 javadoc/shared/CalendarEvent.html create mode 100644 javadoc/shared/Config.html create mode 100644 javadoc/shared/Main.html create mode 100644 javadoc/shared/MyDate.html create mode 100644 javadoc/shared/MyVector.html create mode 100644 javadoc/shared/class-use/CalendarCategory.html create mode 100644 javadoc/shared/class-use/CalendarEvent.html create mode 100644 javadoc/shared/class-use/Config.html create mode 100644 javadoc/shared/class-use/Main.html create mode 100644 javadoc/shared/class-use/MyDate.html create mode 100644 javadoc/shared/class-use/MyVector.html create mode 100644 javadoc/shared/package-frame.html create mode 100644 javadoc/shared/package-summary.html create mode 100644 javadoc/shared/package-tree.html create mode 100644 javadoc/shared/package-use.html create mode 100644 javadoc/shared/remotecall/ClientRequest.html create mode 100644 javadoc/shared/remotecall/RemoteCall.html create mode 100644 javadoc/shared/remotecall/ServerResponse.html create mode 100644 javadoc/shared/remotecall/class-use/ClientRequest.html create mode 100644 javadoc/shared/remotecall/class-use/RemoteCall.html create mode 100644 javadoc/shared/remotecall/class-use/ServerResponse.html create mode 100644 javadoc/shared/remotecall/package-frame.html create mode 100644 javadoc/shared/remotecall/package-summary.html create mode 100644 javadoc/shared/remotecall/package-tree.html create mode 100644 javadoc/shared/remotecall/package-use.html create mode 100644 javadoc/stylesheet.css (limited to 'javadoc') diff --git a/javadoc/allclasses-frame.html b/javadoc/allclasses-frame.html new file mode 100644 index 0000000..f9c07a5 --- /dev/null +++ b/javadoc/allclasses-frame.html @@ -0,0 +1,74 @@ + + + + + + +All Classes + + + + + + + + + + +All Classes +
+ + + + + +
AdvancedSearching +
+CalendarCategory +
+CalendarDatabase +
+CalendarEvent +
+CalendarFormatParser +
+CalendarTableCellRenderer +
+CalendarTableModel +
+ClientRequest +
+Config +
+CreateNewEvent +
+DateSpinner +
+EditExistingEvent +
+GUIHelper +
+InputForm +
+Main +
+MyDate +
+MyVector +
+NetCalendarClient +
+NetCalendarServer +
+Preferences +
+RemoteCall +
+ServerRequester +
+ServerResponse +
+
+ + + diff --git a/javadoc/allclasses-noframe.html b/javadoc/allclasses-noframe.html new file mode 100644 index 0000000..f74154f --- /dev/null +++ b/javadoc/allclasses-noframe.html @@ -0,0 +1,74 @@ + + + + + + +All Classes + + + + + + + + + + +All Classes +
+ + + + + +
AdvancedSearching +
+CalendarCategory +
+CalendarDatabase +
+CalendarEvent +
+CalendarFormatParser +
+CalendarTableCellRenderer +
+CalendarTableModel +
+ClientRequest +
+Config +
+CreateNewEvent +
+DateSpinner +
+EditExistingEvent +
+GUIHelper +
+InputForm +
+Main +
+MyDate +
+MyVector +
+NetCalendarClient +
+NetCalendarServer +
+Preferences +
+RemoteCall +
+ServerRequester +
+ServerResponse +
+
+ + + diff --git a/javadoc/client/CalendarTableCellRenderer.html b/javadoc/client/CalendarTableCellRenderer.html new file mode 100644 index 0000000..1742663 --- /dev/null +++ b/javadoc/client/CalendarTableCellRenderer.html @@ -0,0 +1,398 @@ + + + + + + +CalendarTableCellRenderer + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +client +
+Class CalendarTableCellRenderer

+
+java.lang.Object
+  extended byjava.awt.Component
+      extended byjava.awt.Container
+          extended byjavax.swing.JComponent
+              extended byjavax.swing.JLabel
+                  extended byjavax.swing.table.DefaultTableCellRenderer
+                      extended byclient.CalendarTableCellRenderer
+
+
+
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.swing.SwingConstants, javax.swing.table.TableCellRenderer
+
+
+
+
public class CalendarTableCellRenderer
extends javax.swing.table.DefaultTableCellRenderer
+ +

+This class is responsible for the rendering of the JTable of the client gui which contains + all the events. +

+ +

+

+
Author:
+
buetow
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes inherited from class javax.swing.table.DefaultTableCellRenderer
javax.swing.table.DefaultTableCellRenderer.UIResource
+ + + + + + + +
Nested classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
CalendarTableCellRenderer(CalendarTableModel tableModel) + +
+          This method creates a custom table cell renderer for the calendar client.
+  + + + + + + + + + + + +
+Method Summary
+ java.awt.ComponentgetTableCellRendererComponent(javax.swing.JTable jTable, + java.lang.Object object, + boolean isSelected, + boolean hasFocus, + int iRow, + int iCol) + +
+          This method returns the Component object of a specific table cell.
+ + + + + + + +
Methods inherited from class javax.swing.table.DefaultTableCellRenderer
firePropertyChange, isOpaque, repaint, repaint, revalidate, setBackground, setForeground, updateUI, validate
+ + + + + + + +
Methods inherited from class javax.swing.JLabel
getAccessibleContext, getDisabledIcon, getDisplayedMnemonic, getDisplayedMnemonicIndex, getHorizontalAlignment, getHorizontalTextPosition, getIcon, getIconTextGap, getLabelFor, getText, getUI, getUIClassID, getVerticalAlignment, getVerticalTextPosition, imageUpdate, setDisabledIcon, setDisplayedMnemonic, setDisplayedMnemonic, setDisplayedMnemonicIndex, setHorizontalAlignment, setHorizontalTextPosition, setIcon, setIconTextGap, setLabelFor, setText, setUI, setVerticalAlignment, setVerticalTextPosition
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, 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, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, 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, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, 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, 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, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+CalendarTableCellRenderer

+
+public CalendarTableCellRenderer(CalendarTableModel tableModel)
+
+
This method creates a custom table cell renderer for the calendar client. + Its coloring the different cells and sets other special display attributes. +

+

Parameters:
tableModel - Specifies the DefaultTableModel object used by the JTable. This is needed to make decisions about displaying a specific cell.
+ + + + + + + + +
+Method Detail
+ +

+getTableCellRendererComponent

+
+public java.awt.Component getTableCellRendererComponent(javax.swing.JTable jTable,
+                                                        java.lang.Object object,
+                                                        boolean isSelected,
+                                                        boolean hasFocus,
+                                                        int iRow,
+                                                        int iCol)
+
+
This method returns the Component object of a specific table cell. +

+

+
Parameters:
jTable - Specifies the table object of the calendar client frame.
object - Specifies the object which is inside of the specific table cell.
isSelected - Specifies if the current cell is selected or not.
hasFocus - Specifies if the current cell is focused or not.
iRow - Specifies thr row number of the current cell.
iCol - specifies the column number of the current cell. +
Returns:
Returns the Component object of a specific table cell.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/javadoc/client/CalendarTableModel.html b/javadoc/client/CalendarTableModel.html new file mode 100644 index 0000000..2e6ff3a --- /dev/null +++ b/javadoc/client/CalendarTableModel.html @@ -0,0 +1,777 @@ + + + + + + +CalendarTableModel + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +client +
+Class CalendarTableModel

+
+java.lang.Object
+  extended byjavax.swing.table.AbstractTableModel
+      extended byclient.CalendarTableModel
+
+
+
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel
+
+
+
+
public final class CalendarTableModel
extends javax.swing.table.AbstractTableModel
+ +

+This class defined the table model of the JTable of the main calendar client window. All table + data and most of the table actions, like sorting or updating the content, go trough this class. +

+ +

+

+
Author:
+
buetow
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static java.lang.StringCATEGORY_HEADER + +
+           
+static java.lang.StringDATE_HEADER + +
+           
+static java.lang.StringDESCRIPTION_HEADER + +
+           
+static java.lang.StringPLACE_HEADER + +
+           
+  + + + + + + + + + + +
+Constructor Summary
CalendarTableModel(javax.swing.JTable jTable) + +
+          Simple constructor, creates a calendar table model to be used with the JTable of the netcalendar client main window.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.ClassgetColumnClass(int iCol) + +
+          This method returns the class types of a specific table column.
+ intgetColumnCount() + +
+          This method returns the number of columns of the JTable.
+ java.lang.StringgetColumnName(int iCol) + +
+          This method returns the column header of a specific table column.
+ CalendarEventgetEvent(int iRow) + +
+          This method returns the calendar event which belongs to a specific table row
+ intgetRowCount() + +
+          This method retuns the number of rows of the JTable.
+ java.lang.ObjectgetValueAt(int iRow, + int iCol) + +
+          Gets a specific table value
+ booleanisCellEditable(int iRow, + int iCol) + +
+          This method checks if a cell is editable or not.
+ voidreverseSortByCategory() + +
+          Reverse sorts the table content by their category names.
+ voidreverseSortByCol(int iCol) + +
+          Reverse sorts the table content by a specified table column.
+ voidreverseSortByDate() + +
+          Reverse sorts the table content by their dates.
+ voidreverseSortByDescription() + +
+          Reverse sorts the table content by their description texts.
+ voidreverseSortByPlace() + +
+          Reverse sorts the table content by their places.
+ voidsetEvents(java.util.Vector vecEvents) + +
+          This method updates all the value objects (calendar events) of the table.
+ voidsetRowCount(int iRows) + +
+          This method sets the number of rows of the JTable.
+ voidsetValueAt(java.lang.Object object, + int iRow, + int iCol) + +
+          This function updates the data of the JTable.
+ voidsortByCategory() + +
+          Sorts the table content by their category names.
+ voidsortByCol(int iCol) + +
+          Sorts the table content by a specified table column.
+ voidsortByDate() + +
+          Sorts the table content by their dates.
+ voidsortByDescription() + +
+          Sorts the table content by their description texts.
+ voidsortByPlace() + +
+          Sorts the table content by their places.
+ + + + + + + +
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+DATE_HEADER

+
+public static final java.lang.String DATE_HEADER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CATEGORY_HEADER

+
+public static final java.lang.String CATEGORY_HEADER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DESCRIPTION_HEADER

+
+public static final java.lang.String DESCRIPTION_HEADER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PLACE_HEADER

+
+public static final java.lang.String PLACE_HEADER
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+CalendarTableModel

+
+public CalendarTableModel(javax.swing.JTable jTable)
+
+
Simple constructor, creates a calendar table model to be used with the JTable of the netcalendar client main window. +

+

Parameters:
jTable - Specifies the JTable object of this table model.
+ + + + + + + + +
+Method Detail
+ +

+getColumnCount

+
+public int getColumnCount()
+
+
This method returns the number of columns of the JTable. +

+

+ +
Returns:
Returns the number of columns of the JTable.
+
+
+
+ +

+getRowCount

+
+public int getRowCount()
+
+
This method retuns the number of rows of the JTable. +

+

+ +
Returns:
Returns the number of rows of the JTable.
+
+
+
+ +

+setRowCount

+
+public void setRowCount(int iRows)
+
+
This method sets the number of rows of the JTable. +

+

+
Parameters:
iRows - Specifies the number of rows of the JTable.
+
+
+
+ +

+isCellEditable

+
+public boolean isCellEditable(int iRow,
+                              int iCol)
+
+
This method checks if a cell is editable or not. +

+

+
Parameters:
iRow - Specifies the tables row.
iCol - Specifies the tables column. +
Returns:
Returns true if the cell is editable. Else, false will be returned.
+
+
+
+ +

+getValueAt

+
+public java.lang.Object getValueAt(int iRow,
+                                   int iCol)
+
+
Gets a specific table value +

+

+
Parameters:
iRow - Specifies the tables row
iCol - Specifies the tables column +
Returns:
Returns the object at (row,column)
+
+
+
+ +

+setValueAt

+
+public void setValueAt(java.lang.Object object,
+                       int iRow,
+                       int iCol)
+
+
This function updates the data of the JTable. +

+

+
Parameters:
object - Specifies the new value.
iRow - Specifies the row of the cell to be updated.
iCol - Specifies the column of the cell to be updated.
+
+
+
+ +

+getColumnClass

+
+public java.lang.Class getColumnClass(int iCol)
+
+
This method returns the class types of a specific table column. +

+

+
Parameters:
iCol - Specifies the column index to get the class type for. +
Returns:
Returns the class type of the specified column.
+
+
+
+ +

+getColumnName

+
+public java.lang.String getColumnName(int iCol)
+
+
This method returns the column header of a specific table column. +

+

+
Parameters: