rsramanujam.uix
Class RSRCalendarDialog

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Dialog
                          |
                          +--javax.swing.JDialog
                                |
                                +--rsramanujam.uix.RSRCalendarDialog

public class RSRCalendarDialog
extends javax.swing.JDialog
implements RSRConstants, java.awt.event.ActionListener

A Standard user interaction dialog with an embedded RSRCalendar.

Version:
1.0.0 Kamadhenu, an open source repository of user intercace and support utility components Copyright (C) 2002 R Sadagopa Ramanujam This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA R Sadagopa Ramanujam
See Also:
Serialized Form

Inner classes inherited from class javax.swing.JDialog
javax.swing.JDialog.AccessibleJDialog
 
Inner classes inherited from class java.awt.Component
java.awt.Component.AWTTreeLock
 
Field Summary
private  javax.swing.JButton g_bCancel
           
private  javax.swing.ButtonGroup g_bgDateFormat
           
private  javax.swing.JButton g_bOK
           
private  javax.swing.JPanel g_pButtonPanel
           
private  javax.swing.JPanel g_pRadioPanel
           
private  javax.swing.JRadioButton g_rbDateFormat1
           
private  javax.swing.JRadioButton g_rbDateFormat2
           
private  RSRCalendar g_udRSRCalendarObj
           
private  int option
           
private  java.awt.Container parent
           
private  java.lang.String selectedDate
           
 
Fields inherited from class javax.swing.JDialog
accessibleContext, defaultCloseOperation, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Dialog
base, keepBlocking, modal, nameCounter, resizable, serialVersionUID, title
 
Fields inherited from class java.awt.Window
active, base, focusMgr, inputContext, nameCounter, nativeActive, OPENED, ownedWindowList, serialVersionUID, state, warningString, weakThis, windowListener, windowSerializedDataVersion
 
Fields inherited from class java.awt.Container
component, containerListener, containerSerializedDataVersion, dispatcher, layoutMgr, maxSize, ncomponents, serialVersionUID
 
Fields inherited from class java.awt.Component
actionListenerK, adjustmentListenerK, appContext, assert, background, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, changeSupport, componentListener, componentListenerK, componentOrientation, componentSerializedDataVersion, containerListenerK, cursor, dropTarget, enabled, eventMask, focusListener, focusListenerK, font, foreground, hasFocus, height, incRate, inputMethodListener, inputMethodListenerK, isInc, isPacked, itemListenerK, keyListener, keyListenerK, LEFT_ALIGNMENT, locale, LOCK, minSize, mouseListener, mouseListenerK, mouseMotionListener, mouseMotionListenerK, name, nameExplicitlySet, newEventsOnly, ownedWindowK, parent, peer, peerFont, popups, prefSize, RIGHT_ALIGNMENT, serialVersionUID, textListenerK, TOP_ALIGNMENT, valid, visible, width, windowListenerK, x, y
 
Fields inherited from interface rsramanujam.uis.RSRConstants
CANCEL_OPTION, OK_OPTION
 
Constructor Summary
RSRCalendarDialog(java.awt.Container parentParam)
          Insert the method's description here.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Invoked when an action occurs.
private  javax.swing.JButton getG_bCancel()
          Insert the method's description here.
 javax.swing.ButtonGroup getG_bgDateFormat()
          Insert the method's description here.
private  javax.swing.JButton getG_bOK()
          Insert the method's description here.
private  javax.swing.JPanel getG_pButtonPanel()
          Insert the method's description here.
private  javax.swing.JPanel getG_pRadioPanel()
          Insert the method's description here.
 javax.swing.JRadioButton getG_rbDateFormat1()
          Insert the method's description here.
 javax.swing.JRadioButton getG_rbDateFormat2()
          Insert the method's description here.
 RSRCalendar getG_udRSRCalendarObj()
          Insert the method's description here.
 int getOption()
          Insert the method's description here.
 java.awt.Container getParent()
          Insert the method's description here.
 java.lang.String getSelectedDate()
          Insert the method's description here.
 void setG_bCancel(javax.swing.JButton newG_bCancel)
          Insert the method's description here.
 void setG_bgDateFormat(javax.swing.ButtonGroup newG_bgDateFormat)
          Insert the method's description here.
 void setG_bOK(javax.swing.JButton newG_bOK)
          Insert the method's description here.
 void setG_pButtonPanel(javax.swing.JPanel newG_pButtonPanel)
          Insert the method's description here.
 void setG_pRadioPanel(javax.swing.JPanel newG_pRadioPanel)
          Insert the method's description here.
 void setG_rbDateFormat1(javax.swing.JRadioButton newG_rbDateFormat1)
          Insert the method's description here.
 void setG_rbDateFormat2(javax.swing.JRadioButton newG_rbDateFormat2)
          Insert the method's description here.
 void setG_udRSRCalendarObj(RSRCalendar newG_udRSRCalendarObj)
          Insert the method's description here.
private  void setOption(int newOption)
          Insert the method's description here.
 void setParent(java.awt.Container newParent)
          Insert the method's description here.
 void setSelectedDate(java.lang.String newSelectedDate)
          Insert the method's description here.
 void setVisible(boolean visible)
          Insert the method's description here.
private  void startup()
          Insert the method's description here.
 
Methods inherited from class javax.swing.JDialog
addImpl, createRootPane, createRootPaneException, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, processKeyEvent, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setLocationRelativeTo, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Dialog
, addNotify, conditionalShow, constructComponentName, dispose, getTitle, hide, hideAndDisposeHandler, initIDs, isModal, isResizable, setModal, setResizable, setTitle, show
 
Methods inherited from class java.awt.Window
addOwnedWindow, addWindowListener, applyResourceBundle, applyResourceBundle, connectOwnedWindow, dispatchEventImpl, eventEnabled, finalize, getFocusOwner, getInputContext, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, isActive, isShowing, nextFocus, ownedInit, pack, postEvent, postProcessKeyEvent, postWindowEvent, preProcessKeyEvent, processEvent, readObject, removeOwnedWindow, removeWindowListener, setCursor, setFocusOwner, setWarningString, toBack, toFront, transferFocus, writeObject
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyOrientation, countComponents, deliverEvent, dispatchEventToSelf, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents_NoClientCode, getComponents, getCursorTarget, getInsets, getLayout, getMaximumSize, getMinimumSize, getMouseEventTarget, getPreferredSize, getWindow, insets, invalidate, invalidateTree, isAncestorOf, layout, lightweightPrint, list, list, locate, minimumSize, paint, paintComponents, postsOldMouseEvents, preferredSize, print, printComponents, printOneComponent, processContainerEvent, proxyEnableEvents, proxyRequestFocus, remove, removeAll, removeContainerListener, removeNotify, setFont, updateCursor, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, areInputMethodsEnabled, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont_NoClientCode, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputMethodRequests, getIntrinsicCursor, getLocation, getLocation, getLocationOnScreen, getName, getNativeContainer, getParent_NoClientCode, getPeer, getSize, getSize, getToolkitImpl, getTreeLock, getWidth, getWindowForObject, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isEnabledImpl, isFocusTraversable, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processInputMethodEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

g_udRSRCalendarObj

private RSRCalendar g_udRSRCalendarObj

g_pButtonPanel

private javax.swing.JPanel g_pButtonPanel

g_pRadioPanel

private javax.swing.JPanel g_pRadioPanel

g_bOK

private javax.swing.JButton g_bOK

g_bCancel

private javax.swing.JButton g_bCancel

g_rbDateFormat1

private javax.swing.JRadioButton g_rbDateFormat1

g_rbDateFormat2

private javax.swing.JRadioButton g_rbDateFormat2

g_bgDateFormat

private javax.swing.ButtonGroup g_bgDateFormat

option

private int option

parent

private java.awt.Container parent

selectedDate

private java.lang.String selectedDate
Constructor Detail

RSRCalendarDialog

public RSRCalendarDialog(java.awt.Container parentParam)
Insert the method's description here. Creation date: (1/9/2003 12:21:42 PM)
Parameters:
parent - java.awt.Container
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Invoked when an action occurs.
Specified by:
actionPerformed in interface java.awt.event.ActionListener

getG_bCancel

private javax.swing.JButton getG_bCancel()
Insert the method's description here. Creation date: (1/9/2003 11:56:32 AM)
Returns:
javax.swing.JButton

getG_bgDateFormat

public javax.swing.ButtonGroup getG_bgDateFormat()
Insert the method's description here. Creation date: (1/9/2003 12:05:05 PM)
Returns:
javax.swing.ButtonGroup

getG_bOK

private javax.swing.JButton getG_bOK()
Insert the method's description here. Creation date: (1/9/2003 11:56:32 AM)
Returns:
javax.swing.JButton

getG_pButtonPanel

private javax.swing.JPanel getG_pButtonPanel()
Insert the method's description here. Creation date: (1/9/2003 11:56:32 AM)
Returns:
javax.swing.JPanel

getG_pRadioPanel

private javax.swing.JPanel getG_pRadioPanel()
Insert the method's description here. Creation date: (1/9/2003 11:56:32 AM)
Returns:
javax.swing.JPanel

getG_rbDateFormat1

public javax.swing.JRadioButton getG_rbDateFormat1()
Insert the method's description here. Creation date: (1/9/2003 12:03:18 PM)
Returns:
javax.swing.JRadioButton

getG_rbDateFormat2

public javax.swing.JRadioButton getG_rbDateFormat2()
Insert the method's description here. Creation date: (1/9/2003 12:03:18 PM)
Returns:
javax.swing.JRadioButton

getG_udRSRCalendarObj

public RSRCalendar getG_udRSRCalendarObj()
Insert the method's description here. Creation date: (1/9/2003 11:56:32 AM)
Returns:
com.rsramanujam.calendar.RSRCalendar

getOption

public int getOption()
Insert the method's description here. Creation date: (1/9/2003 11:56:32 AM)
Returns:
int

getParent

public java.awt.Container getParent()
Insert the method's description here. Creation date: (1/9/2003 12:22:43 PM)
Overrides:
getParent in class java.awt.Component
Returns:
java.awt.Container

getSelectedDate

public java.lang.String getSelectedDate()
Insert the method's description here. Creation date: (1/9/2003 11:56:32 AM)
Returns:
java.lang.String

setG_bCancel

public void setG_bCancel(javax.swing.JButton newG_bCancel)
Insert the method's description here. Creation date: (1/9/2003 11:56:32 AM)
Parameters:
newG_bCancel - javax.swing.JButton

setG_bgDateFormat

public void setG_bgDateFormat(javax.swing.ButtonGroup newG_bgDateFormat)
Insert the method's description here. Creation date: (1/9/2003 12:05:05 PM)
Parameters:
newG_bgDateFormat - javax.swing.ButtonGroup

setG_bOK

public void setG_bOK(javax.swing.JButton newG_bOK)
Insert the method's description here. Creation date: (1/9/2003 11:56:32 AM)
Parameters:
newG_bOK - javax.swing.JButton

setG_pButtonPanel

public void setG_pButtonPanel(javax.swing.JPanel newG_pButtonPanel)
Insert the method's description here. Creation date: (1/9/2003 11:56:32 AM)
Parameters:
newG_pButtonPanel - javax.swing.JPanel

setG_pRadioPanel

public void setG_pRadioPanel(javax.swing.JPanel newG_pRadioPanel)
Insert the method's description here. Creation date: (1/9/2003 11:56:32 AM)
Parameters:
newG_pRadioPanel - javax.swing.JPanel

setG_rbDateFormat1

public void setG_rbDateFormat1(javax.swing.JRadioButton newG_rbDateFormat1)
Insert the method's description here. Creation date: (1/9/2003 12:03:18 PM)
Parameters:
newG_rbDateFormat1 - javax.swing.JRadioButton

setG_rbDateFormat2

public void setG_rbDateFormat2(javax.swing.JRadioButton newG_rbDateFormat2)
Insert the method's description here. Creation date: (1/9/2003 12:03:18 PM)
Parameters:
newG_rbDateFormat2 - javax.swing.JRadioButton

setG_udRSRCalendarObj

public void setG_udRSRCalendarObj(RSRCalendar newG_udRSRCalendarObj)
Insert the method's description here. Creation date: (1/9/2003 11:56:32 AM)
Parameters:
newG_udRSRCalendarObj - com.rsramanujam.calendar.RSRCalendar

setOption

private void setOption(int newOption)
Insert the method's description here. Creation date: (1/9/2003 11:56:32 AM)
Parameters:
newOption - int

setParent

public void setParent(java.awt.Container newParent)
Insert the method's description here. Creation date: (1/9/2003 12:22:43 PM)
Parameters:
newParent - java.awt.Container

setSelectedDate

public void setSelectedDate(java.lang.String newSelectedDate)
Insert the method's description here. Creation date: (1/9/2003 11:56:32 AM)
Parameters:
newSelectedDate - java.lang.String

setVisible

public void setVisible(boolean visible)
Insert the method's description here. Creation date: (1/9/2003 2:10:09 PM)
Overrides:
setVisible in class java.awt.Component
Parameters:
visible - boolean

startup

private void startup()
Insert the method's description here. Creation date: (1/9/2003 12:06:06 PM)