|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
org.jbudget.gui.MainWindowBase
public class MainWindowBase
This is a base class for the MainWindow class. Here the GUI components contained in the main window are assembled in a signal frame. Mostly this class is responsible for handing the transaction/allocation list components.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JFrame |
|---|
javax.swing.JFrame.AccessibleJFrame |
| Nested classes/interfaces inherited from class java.awt.Frame |
|---|
java.awt.Frame.AccessibleAWTFrame |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
java.awt.Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
java.awt.Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
protected javax.swing.JMenuItem |
aboutBtn
|
protected javax.swing.JMenu |
accountsMenu
|
protected javax.swing.JRadioButtonMenuItem |
actAndBalRendererBtn
|
protected javax.swing.JRadioButtonMenuItem |
activityRendererBtn
|
protected javax.swing.JMenuItem |
addAllocationBtn
|
protected javax.swing.JMenuItem |
addMonthBtn
|
protected javax.swing.JMenuItem |
addTransactionBtn
|
private AllocationListPanel |
allocationsPanel
List of Allocations (created on demand) |
protected javax.swing.JMenuItem |
analysisBtn
|
protected javax.swing.ButtonGroup |
backgroundGroup1
|
protected javax.swing.ButtonGroup |
backgroundGroup2
|
protected javax.swing.JMenu |
backgroundMenu
|
protected javax.swing.JRadioButtonMenuItem |
balanceRendererBtn
|
protected javax.swing.JMenu |
budgetsMenu
|
protected javax.swing.JMenuItem |
budgetWisardBtn
|
protected java.util.Calendar |
calendar
A calendar used for time tracking |
protected javax.swing.JMenuItem |
changeBudgetBtn
|
protected javax.swing.JMenuItem |
closeAllBtn
|
protected javax.swing.JMenuItem |
closeMonthBtn
|
protected javax.swing.JCheckBoxMenuItem |
collapseAccountsBtn
|
protected javax.swing.JCheckBoxMenuItem |
collapseCategoriesBtn
|
protected DatesInfoTable.Colors |
colors
An object that is used to store the colors used to represent accounts and expense categories. |
protected javax.swing.JMenuItem |
dataDirBtn
|
protected javax.swing.JTabbedPane |
dataPane
Main data window |
protected javax.swing.JRadioButtonMenuItem |
detailedRendererBtn
|
protected java.util.List<org.jbudget.Core.Month> |
displayedMonths
A list of displayed months |
protected javax.swing.JMenuItem |
editAccountBtn
|
protected javax.swing.JMenuItem |
exitBtn
|
protected javax.swing.JMenu |
fileMenu
|
private TransactionFilterPanel |
filterPanel
A panel that is used to edit the filter. |
protected javax.swing.JRadioButtonMenuItem |
fullStructureBackgrBtn
|
protected javax.swing.JMenuItem |
getStartedBtn
|
protected javax.swing.JMenu |
helpMenu
|
protected javax.swing.JCheckBoxMenuItem |
hideEmptyAccountsBtn
|
protected javax.swing.JCheckBoxMenuItem |
hideEmptyCategoriesBtn
|
protected javax.swing.JCheckBoxMenuItem |
hideIdleAccountsBtn
|
protected javax.swing.JCheckBoxMenuItem |
hideIdleCategoriesBtn
|
protected javax.swing.JMenu |
hideMenu
|
protected javax.swing.JCheckBoxMenuItem |
hideSubcategoriesBtn
|
protected javax.swing.ButtonGroup |
highlightGroup
|
protected javax.swing.JMenu |
highlightMenu
|
protected javax.swing.JRadioButtonMenuItem |
highltOffBtn
|
protected javax.swing.JRadioButtonMenuItem |
highltUnderlBtn
|
protected javax.swing.JMenuBar |
menuBar
Main menu bar |
protected javax.swing.JMenu |
monthMenu
|
protected javax.swing.JMenuItem |
newAccountBtn
|
protected javax.swing.JMenuItem |
newBudgetBtn
|
protected javax.swing.JMenuItem |
newUserBtn
|
protected javax.swing.JRadioButtonMenuItem |
noStructureBackgrBtn
|
protected javax.swing.JMenuItem |
openMonthBtn
|
protected javax.swing.JRadioButtonMenuItem |
plainBackgrBtn
|
protected javax.swing.JMenuItem |
preferencesBtn
|
protected javax.swing.JMenuItem |
removeAccountBtn
|
protected javax.swing.JMenuItem |
removeBudgetBtn
|
protected javax.swing.JMenuItem |
removeUnusedAccountsBtn
|
protected javax.swing.JMenuItem |
removeUnusedBudgetsBtn
|
protected javax.swing.JMenuItem |
removeUserBtn
|
protected javax.swing.ButtonGroup |
renderersGroup
|
protected javax.swing.JMenu |
renderersMenu
|
protected DatesInfoTable.RenderingState |
renderingState
An object that controlls the rendering of the accunt/expense category table. |
private ReportPanel |
reportPanel
Report panel. |
protected javax.swing.JMenuItem |
saveAllBtn
|
protected javax.swing.JMenuItem |
saveMonthBtn
|
protected javax.swing.JMenuItem |
showBudgetBtn
|
protected javax.swing.JRadioButtonMenuItem |
simpleStructureBackgrBtn
|
private TransactionSorterPanel |
sorterPanel
GUI component that is used to change the sorting of the transactions and allocations in corresponding lists. |
protected javax.swing.JRadioButtonMenuItem |
stripedBackgrBtn
|
protected javax.swing.JMenuItem |
switchUserBtn
|
protected javax.swing.JMenu |
systemMenu
|
protected DatesInfoTableModel.State |
tableState
An object that describes what columns are shown in month panels. |
protected javax.swing.JMenu |
toolsMenu
|
private TransactionListPanel |
transactionsPanel
List of Transactions (created on demand) |
protected javax.swing.JMenuItem |
viewAccountBtn
|
protected javax.swing.JMenuItem |
viewBudgetBtn
|
protected javax.swing.JMenu |
viewMenu
|
| Fields inherited from class javax.swing.JFrame |
|---|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Frame |
|---|
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
MainWindowBase()
|
|
| Method Summary | |
|---|---|
protected void |
arrangeMenus()
Puts all components in the menu bar. |
AllocationListPanel |
getAllocationsPanel()
Returns the AllocationListPanel object taht is used to display a list of allocations. |
TransactionListPanel |
getTransactionsPanel()
Returns the TransactionListPanel object taht is used to display a list of transactoins. |
| Methods inherited from class javax.swing.JFrame |
|---|
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update |
| Methods inherited from class java.awt.Frame |
|---|
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
| Methods inherited from class java.awt.Window |
|---|
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setVisible, show, toBack, toFront |
| Methods inherited from class java.awt.Container |
|---|
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, 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, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.MenuContainer |
|---|
getFont, postEvent |
| Field Detail |
|---|
protected final javax.swing.JTabbedPane dataPane
protected final java.util.List<org.jbudget.Core.Month> displayedMonths
protected final java.util.Calendar calendar
protected DatesInfoTableModel.State tableState
protected DatesInfoTable.RenderingState renderingState
protected DatesInfoTable.Colors colors
private final TransactionListPanel transactionsPanel
private final AllocationListPanel allocationsPanel
private final ReportPanel reportPanel
private final TransactionFilterPanel filterPanel
private final TransactionSorterPanel sorterPanel
protected final javax.swing.JMenuBar menuBar
protected final javax.swing.JMenu fileMenu
protected final javax.swing.JMenuItem openMonthBtn
protected final javax.swing.JMenuItem addMonthBtn
protected final javax.swing.JMenuItem saveAllBtn
protected final javax.swing.JMenuItem closeAllBtn
protected final javax.swing.JMenuItem exitBtn
protected final javax.swing.JMenu viewMenu
protected final javax.swing.JCheckBoxMenuItem collapseAccountsBtn
protected final javax.swing.JCheckBoxMenuItem collapseCategoriesBtn
protected final javax.swing.JCheckBoxMenuItem hideSubcategoriesBtn
protected final javax.swing.JMenu hideMenu
protected final javax.swing.JCheckBoxMenuItem hideEmptyAccountsBtn
protected final javax.swing.JCheckBoxMenuItem hideIdleAccountsBtn
protected final javax.swing.JCheckBoxMenuItem hideEmptyCategoriesBtn
protected final javax.swing.JCheckBoxMenuItem hideIdleCategoriesBtn
protected final javax.swing.JMenu renderersMenu
protected final javax.swing.JRadioButtonMenuItem detailedRendererBtn
protected final javax.swing.JRadioButtonMenuItem activityRendererBtn
protected final javax.swing.JRadioButtonMenuItem balanceRendererBtn
protected final javax.swing.JRadioButtonMenuItem actAndBalRendererBtn
protected final javax.swing.JMenu backgroundMenu
protected final javax.swing.JRadioButtonMenuItem plainBackgrBtn
protected final javax.swing.JRadioButtonMenuItem stripedBackgrBtn
protected final javax.swing.JRadioButtonMenuItem fullStructureBackgrBtn
protected final javax.swing.JRadioButtonMenuItem simpleStructureBackgrBtn
protected final javax.swing.JRadioButtonMenuItem noStructureBackgrBtn
protected final javax.swing.JMenu highlightMenu
protected final javax.swing.JRadioButtonMenuItem highltOffBtn
protected final javax.swing.JRadioButtonMenuItem highltUnderlBtn
protected final javax.swing.ButtonGroup renderersGroup
protected final javax.swing.ButtonGroup backgroundGroup1
protected final javax.swing.ButtonGroup backgroundGroup2
protected final javax.swing.ButtonGroup highlightGroup
protected final javax.swing.JMenu monthMenu
protected final javax.swing.JMenuItem saveMonthBtn
protected final javax.swing.JMenuItem closeMonthBtn
protected final javax.swing.JMenuItem showBudgetBtn
protected final javax.swing.JMenuItem changeBudgetBtn
protected final javax.swing.JMenuItem addAllocationBtn
protected final javax.swing.JMenuItem addTransactionBtn
protected final javax.swing.JMenu budgetsMenu
protected final javax.swing.JMenuItem viewBudgetBtn
protected final javax.swing.JMenuItem newBudgetBtn
protected final javax.swing.JMenuItem budgetWisardBtn
protected final javax.swing.JMenuItem removeBudgetBtn
protected final javax.swing.JMenuItem removeUnusedBudgetsBtn
protected final javax.swing.JMenu accountsMenu
protected final javax.swing.JMenuItem viewAccountBtn
protected final javax.swing.JMenuItem editAccountBtn
protected final javax.swing.JMenuItem newAccountBtn
protected final javax.swing.JMenuItem removeAccountBtn
protected final javax.swing.JMenuItem removeUnusedAccountsBtn
protected final javax.swing.JMenu toolsMenu
protected final javax.swing.JMenuItem analysisBtn
protected final javax.swing.JMenuItem preferencesBtn
protected final javax.swing.JMenu systemMenu
protected final javax.swing.JMenuItem switchUserBtn
protected final javax.swing.JMenuItem newUserBtn
protected final javax.swing.JMenuItem removeUserBtn
protected final javax.swing.JMenuItem dataDirBtn
protected final javax.swing.JMenu helpMenu
protected final javax.swing.JMenuItem getStartedBtn
protected final javax.swing.JMenuItem aboutBtn
| Constructor Detail |
|---|
MainWindowBase()
| Method Detail |
|---|
public TransactionListPanel getTransactionsPanel()
public AllocationListPanel getAllocationsPanel()
protected void arrangeMenus()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||