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

pauker::program::Card Class Reference

List of all members.


Detailed Description

A card is part of a batch. Besides having a front side and a reverse side it can contain information about the date the card was learned and if the card should be repeated by typing or not.
Author:
Ronny.Standtke@gmx.net

Definition at line 19 of file Card.java.


Public Types

enum  Element {
  FRONT_SIDE, REVERSE_SIDE, BOTH_SIDES, BATCH_NUMBER,
  LEARNED_DATE, EXPIRED_DATE, REPEATING_MODE
}

Public Member Functions

 Card (CardSide frontSide, CardSide reverseSide)
void expire ()
void flip ()
float getAverageFontSize ()
long getExpirationTime ()
CardSide getFrontSide ()
String getId ()
long getLearnedTimestamp ()
int getLongTermBatchNumber ()
CardSide getReverseSide ()
List< SearchHitgetSearchHits ()
boolean isLearned ()
boolean isRepeatedByTyping ()
List< SearchHitsearch (Element cardSide, String pattern, boolean matchCase)
void setExpirationTime (long expirationTime)
void setFrontSide (CardSide frontSide)
void setLearned (boolean learned)
void setLongTermBatchNumber (int batchNumber)
void setRepeatByTyping (boolean repeatByTyping)
void setReverseSide (CardSide reverseSide)
void stopSearching ()
void updateLernedTimeStamp ()

Private Attributes

long expirationTime
CardSide frontSide
String id = null
CardSide reverseSide

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

Generated by  Doxygen 1.6.0   Back to index