Logo Search packages:      
Sourcecode: pauker version File versions  Download package

pauker::program::gui::swing::PaukerFrame Class Reference

Inherits javax::swing::JFrame, javax::swing::event::DocumentListener, and java::beans::PropertyChangeListener.

List of all members.


Detailed Description

Author:
Ronny.Standtke@gmx.net

Definition at line 99 of file PaukerFrame.java.


Public Member Functions

void addCard (Card newCard)
void changedUpdate (DocumentEvent documentEvent)
boolean continueSearch (boolean forward)
Lesson getCurrentLesson ()
SearchHit getCurrentSearchHit ()
Pauker.PutbackStrategy getPutBackStrategy ()
Pauker.RepeatingStrategy getRepeatingStrategy ()
int getSearchLimit ()
int getSearchPatternLength ()
int getSplitOrientation ()
int getStmTime ()
int getUstmTime ()
FileFilter getXmlFileFilter ()
void insertUpdate (DocumentEvent documentEvent)
boolean isLineWrapping ()
boolean isMatchCase ()
boolean isPlayRingTone ()
void loadBatch (Batch batch)
boolean openFiles (File[] files, String encoding, boolean merging)
 PaukerFrame ()
void propertyChange (PropertyChangeEvent propertyChangeEvent)
void removeUpdate (DocumentEvent documentEvent)
boolean search (String pattern, Card.Element cardSide, boolean matchCase)
void setLineWrapping (boolean lineWrapping)
void setMatchCase (boolean matchCase)
void setSearchCardSide (Card.Element cardSide)
void setSplitOrientation (int splitOrientation)
void somethingHasChanged ()
void stopSearching ()

Static Public Member Functions

static void fillTextComponentWithCardSide (CardSide cardSide, JTextComponent textComponent, boolean resetCaret)
static void lazyStringChange (JLabel label, String newText)
static void lazyStringChange (JTextField textField, String newText)
static void main (final String args[])
static void openUrlInBrowser (String url)

Static Public Attributes

static final Color BLUE = new Color(180, 180, 255)
static final Font DEFAULT_FONT = new Font("Dialog", Font.PLAIN, 12)
static final Color GREEN = new Color(180, 255, 180)
static final Color RED = new Color(255, 180, 180)
static final ResourceBundle STRINGS
static final Color YELLOW = new Color(255, 255, 180)

Package Functions

private< T > T getLargestKey (Map< T, Integer > map)
private< T > void increaseCounter (Map< T, Integer > map, T key)

Private Member Functions

void aboutLessonMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void aboutProgramMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void addCardButtonActionPerformed (java.awt.event.ActionEvent evt)
void addCardsMenuitemActionPerformed (java.awt.event.ActionEvent evt)
void addToRecentFiles (String path)
void ascendingBackMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void ascendingBatchMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void ascendingExpiredMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void ascendingFrontMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void ascendingLearnedMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void ascendingRepeatMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void batchListMouseClicked (java.awt.event.MouseEvent evt)
void batchListValueChanged (javax.swing.event.ListSelectionEvent evt)
void cancelLearningButtonActionPerformed (java.awt.event.ActionEvent evt)
void cancelRepeatingButtonActionPerformed (java.awt.event.ActionEvent evt)
boolean canRemoveCard ()
void cardChanged (int selectedIndex)
void configureMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void descendingBackMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void descendingBatchMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void descendingExpiredMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void descendingFrontMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void descendingLearnedMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void descendingRepeatMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void donateMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void downButtonActionPerformed (java.awt.event.ActionEvent evt)
void dropCurrentCard ()
void editCardButtonActionPerformed (java.awt.event.ActionEvent evt)
void editTypingErrorButtonActionPerformed (java.awt.event.ActionEvent evt)
void editWhileMemorizingButtonActionPerformed (java.awt.event.ActionEvent evt)
void editWhileRepeatingButtonActionPerformed (java.awt.event.ActionEvent evt)
void exitForm (java.awt.event.WindowEvent evt)
void exitMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void exitProgram ()
boolean expiredCardRepeated (int longTermBatchIndex)
void flipCardSidesMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void fontButtonActionPerformed (java.awt.event.ActionEvent evt)
void forgetButtonActionPerformed (java.awt.event.ActionEvent evt)
void formWindowOpened (java.awt.event.WindowEvent evt)
void helpMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void hideToolBarMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void highlightSide (List< Integer > script, String text, Font font, JTextArea textArea, Color color)
void ignoreErrorButtonActionPerformed (java.awt.event.ActionEvent evt)
void importMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void initComponents ()
void instantRepeatButtonActionPerformed (java.awt.event.ActionEvent evt)
void learningMethodButtonMousePressed (java.awt.event.MouseEvent evt)
void learnNewCards ()
void learnNewCardsButtonActionPerformed (java.awt.event.ActionEvent evt)
void moveBackButtonActionPerformed (java.awt.event.ActionEvent evt)
void moveCards (int offset)
void newAction ()
void newButtonActionPerformed (java.awt.event.ActionEvent evt)
void newMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void nextNewCardButtonActionPerformed (java.awt.event.ActionEvent evt)
int nextRandom (int exclusiveMaxValue)
void openAction ()
void openButtonActionPerformed (java.awt.event.ActionEvent evt)
void openMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void openRecentFile (ActionEvent actionEvent)
boolean overWritingOK (String fileName)
void pauseLearningToggleButtonItemStateChanged (java.awt.event.ItemEvent evt)
void pushCurrentCard ()
void putBack (Card card)
void randomizeButtonActionPerformed (java.awt.event.ActionEvent evt)
void recentFilesMenuMenuSelected (javax.swing.event.MenuEvent evt)
void remeberMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void removeCardButtonActionPerformed (java.awt.event.ActionEvent evt)
void removeCurrentCard ()
void removeRepeatingButtonActionPerformed (java.awt.event.ActionEvent evt)
void removeUstmButtonActionPerformed (java.awt.event.ActionEvent evt)
void repeatCard (Card card)
void repeatCardsButtonActionPerformed (java.awt.event.ActionEvent evt)
void repeatedCardMoved ()
void repeatExpiredCard ()
void repeatingNoButtonActionPerformed (java.awt.event.ActionEvent evt)
void repeatingYesButtonActionPerformed (java.awt.event.ActionEvent evt)
void repeatSTMButtonActionPerformed (java.awt.event.ActionEvent evt)
void repeatSTMCards ()
void repeatUSTMButtonActionPerformed (java.awt.event.ActionEvent evt)
void repeatUSTMCards ()
void resetGUI ()
void resetMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void saveAsMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void saveButtonActionPerformed (java.awt.event.ActionEvent evt)
boolean saveFile (String fileName, boolean checkOverwrite)
boolean saveFileAs ()
void saveMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void scrollToCurrentSearchHit ()
void searchButtonActionPerformed (java.awt.event.ActionEvent evt)
void setLineWrap (boolean lineWrap)
void setRepeatByTyping (boolean repeatByTyping)
void showMeButtonActionPerformed (java.awt.event.ActionEvent evt)
void showNewCardDialog ()
void showNextUnlearnedCard ()
void showPanel (JPanel panel, String card)
void showThrowable (Throwable throwable)
void showTimerCheckBoxItemStateChanged (java.awt.event.ItemEvent evt)
void showToolBarMenuItemItemStateChanged (java.awt.event.ItemEvent evt)
void sortBatch (Card.Element element, boolean ascending)
void sortButtonMousePressed (java.awt.event.MouseEvent evt)
void stopLearning ()
void switchLayout (JButton button, JSplitPane splitPane, JTextArea frontSideTextArea, JTextArea reverseSideTextArea)
void switchRepeatingLayoutButtonActionPerformed (java.awt.event.ActionEvent evt)
void switchUSTMLayoutButtonActionPerformed (java.awt.event.ActionEvent evt)
void textChanged (DocumentEvent documentEvent)
void transitionOKButtonActionPerformed (java.awt.event.ActionEvent evt)
void typeMenuItemActionPerformed (java.awt.event.ActionEvent evt)
void typingOKButtonActionPerformed (java.awt.event.ActionEvent evt)
boolean unsavedChangesOK ()
void upButtonActionPerformed (java.awt.event.ActionEvent evt)
void updateBatchListButtons ()
void updateSplitPane (JSplitPane splitPane, JTextArea frontSideTextArea, JTextArea reverseSideTextArea)

Static Private Member Functions

static String getMinSecString (int seconds)
static void setFontAndOrientation (CardSide cardSide, JTextComponent textComponent)
static void translateUI (String key)

Private Attributes

final Document aboutDocument
javax.swing.JMenuItem aboutLessonMenuItem
javax.swing.JPanel aboutPanel
javax.swing.JMenuItem aboutProgramMenuItem
javax.swing.JScrollPane aboutScrollPane
javax.swing.JTextArea aboutTextArea
javax.swing.JButton addCardButton
javax.swing.JMenuItem addCardsMenuitem
javax.swing.JMenuItem ascendingBackMenuItem
javax.swing.JMenuItem ascendingBatchMenuItem
javax.swing.JMenuItem ascendingExpiredMenuItem
javax.swing.JMenuItem ascendingFrontMenuItem
javax.swing.JMenuItem ascendingLearnedMenuItem
javax.swing.JMenu ascendingMenu
javax.swing.JMenuItem ascendingRepeatMenuItem
pauker.program.gui.swing.UpdateLayoutList batchList
final BatchListCellRenderer batchListCellRenderer
final BatchListModel batchListModel
javax.swing.JPanel batchListPanel
javax.swing.JScrollPane batchListScrollPane
javax.swing.JPanel batchPanel
final TitledBorder batchPanelBorder
javax.swing.JPanel buttonPanel
javax.swing.JButton cancelLearningButton
javax.swing.JButton cancelRepeatingButton
javax.swing.JPanel cancelRepeatingPanel
javax.swing.JPanel cardPanel
javax.swing.JPanel cardsButtonPanel
javax.swing.JMenuItem configureMenuItem
final FileFilter csvFileFilter
Card currentCard
String currentFileName
Lesson currentLesson
int currentSTMTime
String currentTitle
int currentUSTMTime
final Toolkit defautToolkit
javax.swing.JMenuItem descendingBackMenuItem
javax.swing.JMenuItem descendingBatchMenuItem
javax.swing.JMenuItem descendingExpiredMenuItem
javax.swing.JMenuItem descendingFrontMenuItem
javax.swing.JMenuItem descendingLearnedMenuItem
javax.swing.JMenu descendingMenu
javax.swing.JMenuItem descendingRepeatMenuItem
javax.swing.JLabel didYouKnowLabel
javax.swing.JMenuItem donateMenuItem
javax.swing.JButton downButton
javax.swing.JButton editCardButton
javax.swing.JButton editTypingErrorButton
javax.swing.JButton editWhileMemorizingButton
javax.swing.JButton editWhileRepeatingButton
javax.swing.JMenuItem exitMenuItem
final Timer expirationTimer
javax.swing.JLabel explanationLabel
javax.swing.JMenu extraMenu
javax.swing.JMenu fileMenu
javax.swing.JMenuItem flipCardSidesMenuItem
javax.swing.JButton fontButton
Card.Element fontDialogSide
javax.swing.JButton forgetButton
final Color frontSideBackground
final Font frontSideFont
final Color frontSideForeground
javax.swing.JPanel fullTimerPanel
HelpBroker helpbroker
javax.swing.JMenu helpMenu
javax.swing.JMenuItem helpMenuItem
javax.swing.JMenuItem hideToolBarMenuItem
javax.swing.JButton ignoreErrorButton
javax.swing.JMenuItem importMenuItem
javax.swing.JLabel infoLabel
javax.swing.JLabel inputLabel
javax.swing.JPanel inputPanel
javax.swing.JScrollPane inputScrollPane
javax.swing.JTextArea inputTextArea
javax.swing.JLabel insertReverseSideLabel
javax.swing.JButton instantRepeatButton
javax.swing.JSeparator jSeparator1
javax.swing.JSeparator jSeparator2
javax.swing.JSeparator jSeparator3
javax.swing.JSeparator jSeparator4
javax.swing.JSeparator jSeparator5
boolean keepNewCardDialogOpen
String lastAccessedDirectory
javax.swing.JPanel learningCardPanel
javax.swing.JLabel learningLabel
javax.swing.JPanel learningMenuHeaderPanel
javax.swing.JButton learningMethodButton
javax.swing.JPanel learningPanel
javax.swing.JPopupMenu learningPopupMenu
javax.swing.JPanel learningStatusPanel
javax.swing.JButton learnNewCardsButton
javax.swing.JPanel lessonPanel
boolean lineWrapping
Batch loadedBatch
javax.swing.JMenuBar mainMenuBar
boolean matchCase
javax.swing.JButton moveBackButton
javax.swing.JButton newButton
NewCardDialog newCardDialog
javax.swing.JMenuItem newMenuItem
javax.swing.JButton nextNewCardButton
javax.swing.JPanel noTimerPanel
javax.swing.JButton openButton
final OpenFileDialog openFileDialog
javax.swing.JMenuItem openMenuItem
javax.swing.JPanel overviewPanel
javax.swing.JToggleButton pauseLearningToggleButton
boolean playRingTone
Pauker.PutbackStrategy putBackStrategy
javax.swing.JPanel questionButtonPanel
javax.swing.JLabel questionLabel
javax.swing.JPanel questionPanel
Random random
javax.swing.JButton randomizeButton
final List< String > recentFiles
boolean recentFilesHaveChanged
javax.swing.JMenu recentFilesMenu
javax.swing.JMenuItem remeberMenuItem
javax.swing.JButton removeCardButton
javax.swing.JButton removeRepeatingButton
javax.swing.JButton removeUstmButton
final boolean repeatByTyping
javax.swing.JButton repeatCardsButton
javax.swing.JPanel repeatingAskPanel
javax.swing.JPanel repeatingButtonCardPanel
javax.swing.JLabel repeatingCardFrontSideLabel
javax.swing.JPanel repeatingCardPanel
javax.swing.JLabel repeatingCardReverseSideLabel
javax.swing.JPanel repeatingFrontSidePanel
javax.swing.JScrollPane repeatingFrontSideScrollPane
javax.swing.JTextArea repeatingFrontSideTextArea
javax.swing.JLabel repeatingHintLabel
javax.swing.JPanel repeatingInsertPanel
javax.swing.JScrollPane repeatingInsertScrollPane
javax.swing.JTextArea repeatingInsertTextArea
javax.swing.JButton repeatingNoButton
javax.swing.JPanel repeatingPanel
javax.swing.JPanel repeatingReverseSidePanel
javax.swing.JScrollPane repeatingReverseSideScrollPane
javax.swing.JTextArea repeatingReverseSideTextArea
javax.swing.JPanel repeatingShowPanel
javax.swing.JSplitPane repeatingSplitPane
Pauker.RepeatingStrategy repeatingStrategy
javax.swing.JButton repeatingYesButton
javax.swing.JButton repeatSTMButton
javax.swing.JButton repeatUSTMButton
javax.swing.JMenuItem resetMenuItem
javax.swing.JLabel reverseLabel
javax.swing.JPanel reversePanel
javax.swing.JScrollPane reverseScrollPane
final Color reverseSideBackground
final Font reverseSideFont
final Color reverseSideForeground
javax.swing.JTextArea reverseTextArea
final AudioClip ringTone
javax.swing.JMenuItem saveAsMenuItem
javax.swing.JButton saveButton
final JFileChooser saveFileChooser
javax.swing.JMenuItem saveMenuItem
javax.swing.JButton searchButton
SearchDialog searchDialog
final SearchEngine searchEngine
int searchLimit
int searchPatternLength
javax.swing.JSeparator separator1
javax.swing.JSeparator separator2
javax.swing.JSeparator separator4
boolean settingAboutText
javax.swing.JButton showMeButton
javax.swing.JPanel showMeButtonPanel
final boolean showTimer
javax.swing.JCheckBox showTimerCheckBox
javax.swing.JCheckBoxMenuItem showToolBarMenuItem
boolean somethingChanged
javax.swing.JButton sortButton
javax.swing.JLabel sortingLabel
javax.swing.JPanel sortingMenuHeaderPanel
javax.swing.JPopupMenu sortingPopupMenu
int splitOrientation
javax.swing.JSplitPane splitPane
pauker.program.gui.swing.StatisticPanel statisticPanel
int stmTime
final Timer stmTimer
javax.swing.JLabel stmTimerLabel
javax.swing.JProgressBar stmTimerProgressBar
String stmTimeString
javax.swing.JButton switchRepeatingLayoutButton
javax.swing.JButton switchUSTMLayoutButton
javax.swing.JPanel timerCardPanel
javax.swing.JPanel timerGridPanel1
javax.swing.JPanel timerGridPanel2
javax.swing.JPanel timerPanel
final String titleString
javax.swing.JToolBar toolBar
javax.swing.JPopupMenu toolBarPopupMenu
javax.swing.JLabel transitionExplanationLabel
javax.swing.JButton transitionOKButton
javax.swing.JPanel transitionPanel
javax.swing.JLabel transitoinIconLabel
javax.swing.JMenuItem typeMenuItem
javax.swing.JPanel typingErrorPanel
javax.swing.JSplitPane typingErrorSplitPane
javax.swing.JButton typingOKButton
javax.swing.JPanel typingOKPanel
javax.swing.JButton upButton
javax.swing.JLabel ustmFrontSideLabel
javax.swing.JPanel ustmFrontSidePanel
javax.swing.JScrollPane ustmFrontSideScrollPane
javax.swing.JTextArea ustmFrontSideTextArea
javax.swing.JPanel USTMLearningPanel
javax.swing.JLabel ustmReverseSideLabel
javax.swing.JPanel ustmReverseSidePanel
javax.swing.JScrollPane ustmReverseSideScrollPane
javax.swing.JTextArea ustmReverseSideTextArea
javax.swing.JSplitPane ustmSplitPane
int ustmTime
final Timer ustmTimer
javax.swing.JLabel ustmTimerLabel
javax.swing.JProgressBar ustmTimerProgressBar
javax.swing.JLabel waitForSTMLabel
javax.swing.JPanel waitForSTMPanel
javax.swing.JLabel waitForUSTMLabel
javax.swing.JPanel waitForUSTMPanel
final FileFilter xmlFileFilter

Static Private Attributes

static final Logger logger
static final int MAX_RECENT_FILES = 4
static boolean modalDialogVisible
static final String preferencesPathName = "/org/pauker"

Classes

class  MyFocusTraversalPolicy

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index