|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--java.awt.Window
|
+--java.awt.Frame
|
+--javax.swing.JFrame
|
+--org.accountkeeper.AccountKeeper
This is the main class of the Account Keeper application. It uses Swing and
the Java look and feel. The static entry point is main.
The UI for this application was generated by JBuilder. Any class that has UI
components will have a method called jbInit that initializes the UI.
Additionally, any section of the code that has been generated by JBuilder will be
marked with [JBuilder].
| Inner classes inherited from class javax.swing.JFrame |
javax.swing.JFrame.AccessibleJFrame |
| Inner classes inherited from class java.awt.Component |
java.awt.Component.AWTTreeLock |
| Field Summary | |
private javax.swing.JButton |
aboutButton
|
private org.accountkeeper.AccountForm |
acctForm
|
private org.accountkeeper.AccountList |
acctList
|
private org.accountkeeper.AccountTable |
acctTable
|
private org.accountkeeper.AccountTableModel |
acctTableModel
|
private javax.swing.JButton |
addButton
|
private java.awt.GridLayout |
buttonGridLayout1
|
private java.awt.GridLayout |
buttonGridLayout2
|
private javax.swing.JPanel |
buttonPanel1
|
private javax.swing.JPanel |
buttonPanel2
|
private java.awt.CardLayout |
contentCardLayout
|
private javax.swing.JPanel |
contentPanel
|
private java.awt.BorderLayout |
controlBorderLayout
|
private java.awt.CardLayout |
controlCardLayout
|
private javax.swing.JPanel |
controlInnerPanel
|
private javax.swing.JPanel |
controlPanel
|
private javax.swing.border.SoftBevelBorder |
controlPanelBorder
|
private javax.swing.JButton |
deleteButton
|
private javax.swing.JButton |
editButton
|
private java.awt.BorderLayout |
mainBorderLayout
|
private javax.swing.border.SoftBevelBorder |
tableBorder
|
private javax.swing.JScrollPane |
tableScrollPane
|
private static java.lang.String |
TITLE
|
private static java.lang.String |
VERSION
|
| Fields inherited from class javax.swing.JFrame |
accessibleContext,
defaultCloseOperation,
rootPane,
rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Frame |
base,
CROSSHAIR_CURSOR,
DEFAULT_CURSOR,
E_RESIZE_CURSOR,
frameSerializedDataVersion,
HAND_CURSOR,
icon,
ICONIFIED,
mbManagement,
menuBar,
MOVE_CURSOR,
N_RESIZE_CURSOR,
nameCounter,
NE_RESIZE_CURSOR,
NORMAL,
NW_RESIZE_CURSOR,
ownedWindows,
resizable,
S_RESIZE_CURSOR,
SE_RESIZE_CURSOR,
serialVersionUID,
state,
SW_RESIZE_CURSOR,
TEXT_CURSOR,
title,
W_RESIZE_CURSOR,
WAIT_CURSOR,
weakThis |
| Fields inherited from class java.awt.Window |
active,
base,
focusMgr,
inputContext,
nameCounter,
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 |
| Constructor Summary | |
AccountKeeper()
Construct a new instance of the class. |
|
| Method Summary | |
private void |
addAccount()
Add a journal entry. |
private void |
addListeners()
Add listeners to any components that need to be observed. |
private void |
deleteAccount()
Delete the journal entry that is selected in the log table, after confirmation. |
private void |
editAccount()
Edit the journal entry that is selected in the journal table. |
private org.accountkeeper.AccountForm |
getAccountForm()
Get the journal entry form, which is used for entering/editing the given journal entry. |
private void |
jbInit()
Initialize UI [JBuilder]. |
static void |
main(java.lang.String[] args)
Start the application. |
private void |
save()
Save the account list. |
private void |
showAbout()
Show application identification and copyright information. |
private void |
showControls()
Show (enable/disable) the controls based on the state of the account list. |
| Methods inherited from class javax.swing.JFrame |
addImpl,
createRootPane,
createRootPaneException,
frameInit,
getAccessibleContext,
getContentPane,
getDefaultCloseOperation,
getGlassPane,
getJMenuBar,
getLayeredPane,
getRootPane,
isRootPaneCheckingEnabled,
paramString,
processKeyEvent,
processWindowEvent,
remove,
setContentPane,
setDefaultCloseOperation,
setGlassPane,
setJMenuBar,
setLayeredPane,
setLayout,
setRootPane,
setRootPaneCheckingEnabled,
update |
| Methods inherited from class java.awt.Frame |
|
| Methods inherited from class java.awt.Window |
addOwnedWindow,
addWindowListener,
applyResourceBundle,
applyResourceBundle,
connectOwnedWindow,
dispatchEventImpl,
dispose,
eventEnabled,
getFocusOwner,
getInputContext,
getLocale,
getOwnedWindows,
getOwner,
getToolkit,
getWarningString,
hide,
isActive,
isShowing,
nextFocus,
ownedInit,
pack,
postEvent,
postWindowEvent,
preProcessKeyEvent,
processEvent,
removeOwnedWindow,
removeWindowListener,
setCursor,
setFocusOwner,
setWarningString,
show,
toBack,
toFront,
transferFocus |
| 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,
printHeavyweightComponents,
printOneComponent,
processContainerEvent,
proxyEnableEvents,
proxyRequestFocus,
remove,
removeAll,
removeContainerListener,
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,
getParent,
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,
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,
setVisible,
show,
size,
toString,
transferFocus |
| Methods inherited from class java.lang.Object |
clone,
equals,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
| Field Detail |
private static final java.lang.String TITLE
private static final java.lang.String VERSION
private org.accountkeeper.AccountList acctList
private org.accountkeeper.AccountTableModel acctTableModel
private org.accountkeeper.AccountForm acctForm
private java.awt.BorderLayout mainBorderLayout
private javax.swing.border.SoftBevelBorder tableBorder
private javax.swing.border.SoftBevelBorder controlPanelBorder
private javax.swing.JPanel contentPanel
private javax.swing.JScrollPane tableScrollPane
private org.accountkeeper.AccountTable acctTable
private javax.swing.JPanel controlPanel
private java.awt.CardLayout controlCardLayout
private javax.swing.JPanel controlInnerPanel
private java.awt.BorderLayout controlBorderLayout
private java.awt.CardLayout contentCardLayout
private javax.swing.JPanel buttonPanel1
private javax.swing.JPanel buttonPanel2
private java.awt.GridLayout buttonGridLayout1
private java.awt.GridLayout buttonGridLayout2
private javax.swing.JButton addButton
private javax.swing.JButton editButton
private javax.swing.JButton deleteButton
private javax.swing.JButton aboutButton
| Constructor Detail |
public AccountKeeper()
| Method Detail |
private void jbInit()
private void addListeners()
private void showAbout()
private void showControls()
private org.accountkeeper.AccountForm getAccountForm()
private void addAccount()
private void editAccount()
private void deleteAccount()
private void save()
public static void main(java.lang.String[] args)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||