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

pauker::program::gui::swing::GraphicalStatisticPanel Class Reference

Inherits javax::swing::JPanel.

List of all members.

Detailed Description


Definition at line 33 of file GraphicalStatisticPanel.java.

Public Member Functions

void clearSelection ()
 GraphicalStatisticPanel ()
void paintComponent (Graphics graphics)
void selectLongTermBatch (int selectedLongTermBatchNumber)
void selectShortTermBatch ()
void selectSummary ()
void selectUltraShortTermBatch ()
void selectUnlearnedBatch ()
void setLesson (Lesson lesson)
void setMouseSensitive (boolean mouseSensitive)
void setPaukerFrame (PaukerFrame paukerFrame)

Private Types

enum  BatchType {

Private Member Functions

void formMouseClicked (java.awt.event.MouseEvent evt)
void formMouseExited (java.awt.event.MouseEvent evt)
void formMouseMoved (java.awt.event.MouseEvent evt)
int getHeight (int maxCards, int numberOfCards)
void initComponents ()
void paintBar (Graphics2D graphics, JLabel label, int numberOfBars, boolean selected, boolean highlighted)
boolean pointIsOverLabel (Point point, JLabel label)
void privateSetLesson (Lesson lesson)

Private Attributes

final String batchString
final BasicStroke bigStroke
final Color[] colors = new Color[4]
int croppedHeight = 0
javax.swing.JLabel descriptionLabel
int height = 0
final int[] heights = new int[4]
BatchType highlightedBatchType
int highlightedLongTermBatchNumber
final Font labelFont = new java.awt.Font("Dialog", 0, 10)
final GridBagConstraints lastConstraints
int lastNumberOfLongTermBatches = 0
final GridBagLayout layout
Lesson lesson
javax.swing.JPanel longTermBatchesPanel
JLabel[] longTermLabels
boolean mouseSensitive
final GridBagConstraints normalConstraints
javax.swing.JLabel notLearnedLabel
final String notLearnedString
PaukerFrame paukerFrame
BatchType selectedBatchType
int selectedLongTermBatchNumber
javax.swing.JLabel stmLabel
final String stmString
final ResourceBundle strings
javax.swing.JLabel summaryLabel
final String summaryString
javax.swing.JLabel ustmLabel
final String ustmString

Static Private Attributes

static final int BAR_WIDTH = 30
static final int BOTTOM_INSET = 10
static final int TOP_INSET = 10

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

Generated by  Doxygen 1.6.0   Back to index