Holger's
Java API
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

P

pageRank(String, String, int) - Method in class com.antelmann.net.Google
returns the rank of the first page where the urlPattern is found within the search result produced by a query using the searchString; 0 is returned if the URL is not within the result
pageText - Variable in class com.antelmann.util.TextPrinter
 
paint(Graphics) - Method in class com.antelmann.util.gui.SplashScreen
 
paintComponent(Graphics) - Method in class com.antelmann.calendar.JDayGrid
 
paintComponent(Graphics) - Method in class com.antelmann.util.gui.Plot2DFunction
 
PARENT - Static variable in class com.antelmann.ooffice.OOUtils
search flag option
parse(String) - Static method in class com.antelmann.calendar.Stopwatch
assumes the format h:m:s; can parse a String created by timeAsStringShort(long)
parse(String) - Static method in class com.antelmann.calendar.TimeInDay
 
parseLine(String) - Method in class com.antelmann.io.IniFile
returns either null or an array of size 2, containing key/value pair.
parseLine(String) - Method in class com.antelmann.net.ServerLogFile
parses a single line from the log file and constructs a ServerLogEntry (default parsing for Apache)
parseTag(String, String, int) - Method in class com.antelmann.cddb.CDDBXmcdParser
returns the text between btag and etag after index; leading and tailing white space is removed
passPhrase - Static variable in class com.antelmann.net.JChat
proprietory password
passwordCheck(User) - Method in class com.antelmann.timeregister.JPunchClock
returns true only if the correct password is entered or if no password is set
passwordHash - Variable in class com.antelmann.mgmt.UserImpl
 
pasteFromClipboard() - Static method in class com.antelmann.imagedb.ImageUtils
returns null if the clipboard content cannot be read into an image
PatternExtractor<TYPE,PATTERN> - Interface in com.antelmann.util
PatternExtractor provides a way to group objects by a pattern defined by an implementation.
patternFound(InterceptInputStream, byte[]) - Method in interface com.antelmann.io.InterceptInputStream.Handler
at the time this method is called, the given stream is at the beginning of the given pattern that is to be read next
patternFound(InterceptInputStream, byte[]) - Method in class com.antelmann.io.ReplaceInputStream
only used internally (implementing InterceptInputStream.Handler); skips the pattern length from the stream and inserts the replacementPattern
pause() - Method in class com.antelmann.calendar.Stopwatch
pause() stops the timer and maintains the elapsed time; it does nothing if the timer is already paused.
pause() - Method in class com.antelmann.cddb.CDDrive
 
pause() - Method in class com.antelmann.cddb.CDDriveSample
 
pause() - Method in class com.antelmann.cddb.CDDriveWin
method not implemented (throws UnsupportedOperationException)
pause(long) - Static method in class com.antelmann.util.Misc
just simplifies a call to Thread.sleep()
pauseLogging() - Method in class com.antelmann.util.logging.MemoryLogger
pauses logging and may be resumed
PDFUtils - Class in com.antelmann.util
 
peekContentLength() - Method in class com.antelmann.net.URLCache
returns the content-length header field directly from the online data; the cache is neither affected nor used.
pegsLeft() - Method in class com.antelmann.game.puzzle.Solitaire
 
performanceRatio() - Method in class com.antelmann.game.TemplatePlayer
returns the quotient between numberOfPositionsSearched() and totalTimeTaken(); the result will be scaled to reflect how many positions have been searched per second.
performCommand(String) - Method in class com.antelmann.cddb.FreeDB
This method is called for every command supported by the interface and returns the result as it is provided by the service.
PERFORMER - Static variable in class com.antelmann.cddb.Role
 
Permutation - Class in com.antelmann.util
derived from public domain sources (http://www.merriampark.com/perm.htm)
Permutation(int) - Constructor for class com.antelmann.util.Permutation
 
permutationsLeft() - Method in class com.antelmann.util.Permutation
 
piecesLeft(int) - Method in class com.antelmann.game.muehle.MuehleGame
 
ping() - Method in class com.antelmann.net.Spider
returns the time it takes to establish a live connection to the embedded URL and returns -1 only if the URL is unreachable.
ping() - Method in class com.antelmann.timeregister.PunchDBClient
simply checks connectivity
placeEntry(CalendarEntry) - Method in class com.antelmann.calendar.JDayGrid
uses the configured CalendarEntryComponentFactory
placeTableModel(TableModel, String, int, int) - Method in class com.antelmann.ooffice.SpreadsheetFrame
places the given model into the spreadsheet with the upper left corner at the given location using a variety of useful default cell formats
play() - Method in class com.antelmann.cddb.CDDrive
 
play() - Method in class com.antelmann.cddb.CDDriveSample
 
play() - Method in class com.antelmann.cddb.CDDriveWin
method not implemented (throws UnsupportedOperationException)
play - Variable in class com.antelmann.game.JDefaultGame
 
play() - Method in class com.antelmann.sound.JPlayer
if you wanted the GUI to start playing a pre-loaded sound right away
play(int) - Method in class com.antelmann.sound.JukeBox
starts to play the song indicated by the index.
play() - Method in class com.antelmann.sound.MP3Player
 
play() - Method in class com.antelmann.sound.SoundPlayer
if play() is called on a sound that has been played through, you may have to call stop() before play() will have the effect of replaying the sound
playCurrentSongFromStart() - Method in class com.antelmann.sound.JukeBox
plays current song from the start
player - Variable in class com.antelmann.game.MoveTemplate
 
Player - Interface in com.antelmann.game
The Player ojbect adds Artificial Intelligence to a GamePlay.
player - Variable in class com.antelmann.sound.JPlayer
 
playerName - Variable in class com.antelmann.game.TemplatePlayer
 
playerRole - Variable in class com.antelmann.game.GameBoardMove
 
playGame() - Static method in class com.antelmann.Main
starts a JGameFrame after network option and game type are selected
PLAYING_NEW_SONG - Static variable in interface com.antelmann.sound.JukeBox.Listener
indicates that a new song is now being played
playLast() - Method in class com.antelmann.sound.JukeBox
plays the last song in the list
playNext() - Method in class com.antelmann.sound.JukeBox
requests the next song in the current list to be played.
Plot2DFunction - Class in com.antelmann.util.gui
Plot2DFunction provides a specialized JPanel that plots any given two-dimensional function.
Plot2DFunction(Function2D, String) - Constructor for class com.antelmann.util.gui.Plot2DFunction
 
popMove() - Method in class com.antelmann.game.AbstractGame
popMove undoes the last move by altering the game board to the stage before the last move happened.
popMove() - Method in class com.antelmann.game.awari.AwariGame
 
popMove() - Method in class com.antelmann.game.card.BlackJack
 
popMove() - Method in class com.antelmann.game.checkers.CheckersGame
 
popMove() - Method in class com.antelmann.game.chess.ChessGame
 
popMove() - Method in class com.antelmann.game.fourwins.FourWinsGame
 
popMove() - Method in class com.antelmann.game.gomoku.GomokuGame
 
popMove() - Method in class com.antelmann.game.mine.MineSweeper
always returns false
popMove() - Method in class com.antelmann.game.muehle.MuehleGame
 
popMove() - Method in class com.antelmann.game.puzzle.EightQueens
 
popMove() - Method in class com.antelmann.game.puzzle.Solitaire
 
popMove() - Method in class com.antelmann.game.puzzle.TilePuzzle
 
popMove() - Method in class com.antelmann.game.puzzle.WSPuzzle
 
popMove() - Method in class com.antelmann.game.reversi.ReversiGame
 
popMove() - Method in class com.antelmann.game.ttt.TickTackToe
 
popMove() - Method in class com.antelmann.game.wolfsheep.WolfsheepGame
 
port - Variable in class com.antelmann.net.SocketConnection
 
positionFrom - Variable in class com.antelmann.game.GameBoardMove
 
positionTo - Variable in class com.antelmann.game.GameBoardMove
 
possibleMove(int, int, int) - Method in class com.antelmann.game.reversi.ReversiGame
 
post(String, String) - Method in class com.antelmann.net.CGI
convenience method to post a single parameter/value pair
post(String[], String[]) - Method in class com.antelmann.net.CGI
posts the given parameter/value pairs to the embedded URL in the exact specified order.
post(Map<Object, Object>) - Method in class com.antelmann.net.CGI
posts the given parameters to the instance's URL via POST.
post(String) - Method in class com.antelmann.net.CGI
posts the encoded string directly to the URL per HTTP POST.
prepareInvokation(Object, Method, Object[]) - Method in class com.antelmann.util.InterfaceMonitor.Adapter
simply returns null
prepareInvokation(Object, Method, Object[]) - Method in interface com.antelmann.util.InterfaceMonitor
called before the given method is executed on the given object with the given parameters.
print() - Method in class com.antelmann.ooffice.SpreadsheetFrame
 
print(String) - Method in class com.antelmann.ooffice.SpreadsheetFrame
 
print() - Method in class com.antelmann.ooffice.TextFrame
 
print(String) - Method in class com.antelmann.ooffice.TextFrame
 
print(Component, boolean) - Static method in class com.antelmann.util.PrintUtilities
prints the given component after selecting the desired printer
print(PrinterJob, Component, boolean) - Static method in class com.antelmann.util.PrintUtilities
 
print(PrintService, InputStream) - Static method in class com.antelmann.util.PrintUtilities
 
print(Graphics, PageFormat, int) - Method in class com.antelmann.util.TextPrinter
 
printASCIIText(String) - Static method in class com.antelmann.util.PrintUtilities
calls text(text, true)
printASCIIText(String, boolean) - Static method in class com.antelmann.util.PrintUtilities
prints the given text to the default printer (adding a formFeed if desired)
printASCIIText(PrintService, String, boolean) - Static method in class com.antelmann.util.PrintUtilities
prints the given text to the given print service (adding a formFeed if desired)
printAsPDF(String) - Static method in class com.antelmann.util.PDFUtils
creates a temp file and then uses a system call to print it
printComponent(XComponent, String, Map<Object, Object>) - Static method in class com.antelmann.ooffice.OOUtils
 
printComponent(XComponent, Map<Object, Object>, Map<Object, Object>) - Static method in class com.antelmann.ooffice.OOUtils
 
printOnePage(PrinterJob, Component) - Static method in class com.antelmann.util.PrintUtilities
 
printPage(Graphics, PageFormat, StringBuilder) - Method in class com.antelmann.util.TextPrinter
prints the given text onto the given format using the given graphics.
printParagraph(Graphics2D, PageFormat, String, Point2D.Float) - Method in class com.antelmann.util.TextPrinter
 
printPath() - Method in class com.antelmann.game.puzzle.DiceEquation
 
printPDF(File) - Static method in class com.antelmann.util.PDFUtils
platform dependent system call to print the given file to the default printer.
printText(String) - Static method in class com.antelmann.util.PrintUtilities
uses a TextPrinter and utilizes text color and font if set
printText(String, PrinterJob, boolean) - Static method in class com.antelmann.util.PrintUtilities
uses a TextPrinter and utilizes text color and font if set
printTextFile(File) - Static method in class com.antelmann.util.PrintUtilities
 
printTextFile(PrintService, File) - Static method in class com.antelmann.util.PrintUtilities
 
printToFile(Throwable, File, boolean) - Static method in class com.antelmann.util.Debug
returns true only if operation was successfull
printToService(Object...) - Method in interface com.antelmann.util.PrintUtilities.Printer
prints the given objects to the service configured
printToService(Object...) - Static method in class com.antelmann.util.PrintUtilities
uses the currently configured Printer object to print the given object.
printToTempFile(Throwable) - Static method in class com.antelmann.util.Debug
returns the name of the temp file the Throwable was written to or null if the write attempt was unsuccessful.
PrintUtilities - Class in com.antelmann.util
some ease-of-use-functions for printing.
PrintUtilities.Printer - Interface in com.antelmann.util
allows to plug in a printing service into PrintUtilities
processAlert(Alert) - Method in interface com.antelmann.calendar.AlertHandler
called when an alert is due and to be brought to the users's attention.
processBarcode(String) - Method in class com.antelmann.timeregister.JBarcodePunchClock
processes the given barcode on the embedded PunchStation
processForm() - Method in class com.antelmann.util.gui.FormDialog
calls setVisible(true), processes the form and returns what button was pressed.
PRODUCER - Static variable in class com.antelmann.cddb.Role
 
propagatesException() - Method in class com.antelmann.util.AbstractIterator
if true, an exception thrown by getNextElement() will be thrown as an IterationException back to the caller of any method of the Iterator or Enumeration interface.
properties - Variable in class com.antelmann.calendar.CalendarEntry
 
properties - Variable in class com.antelmann.game.quiz.DemoQuizFrame
 
propertiesEditor() - Static method in class com.antelmann.Main
 
PropertiesEditorFrame - Class in com.antelmann.util.gui
a convenient graphical editor for Properties
PropertiesEditorFrame(File) - Constructor for class com.antelmann.util.gui.PropertiesEditorFrame
 
PropertiesEditorFrame(Properties) - Constructor for class com.antelmann.util.gui.PropertiesEditorFrame
 
PropertiesTableModel - Class in com.antelmann.util.table
a table model that allows to edit the values of the embedded properties
PropertiesTableModel(Properties) - Constructor for class com.antelmann.util.table.PropertiesTableModel
 
propertyChangeSupport - Variable in class com.antelmann.mgmt.EntityImpl
access to the embedded property change support; this variable is initally null (until initialized by enableChangeListenerSupport(boolean))
props - Variable in class com.antelmann.mgmt.EntityImpl
provides unmonitored access to the properties
propsIdField - Variable in class com.antelmann.calendar.SQLCalendarDB
 
propsKeyField - Variable in class com.antelmann.calendar.SQLCalendarDB
 
propsTableName - Variable in class com.antelmann.calendar.SQLCalendarDB
 
propsValueField - Variable in class com.antelmann.calendar.SQLCalendarDB
 
prototypeCellValue - Static variable in interface com.antelmann.game.JGamePlay
used to size the legal, history and redo move list
pruneMove(GamePlay, GameMove, int[]) - Method in class com.antelmann.game.BookPlayer
 
pruneMove(GamePlay, GameMove, int[]) - Method in class com.antelmann.game.gomoku.GomokuPlayer
ignore all moves that are either at the edge or have no neighbor
pruneMove(GamePlay, GameMove, int[]) - Method in class com.antelmann.game.muehle.MuehlePlayer
A move is pruned if capture moves are possible while this is not one of them (with the exception of when the opponent may only have 3 pieces left and may jump).
pruneMove(GamePlay, GameMove, int[]) - Method in interface com.antelmann.game.Player
This method allows the Player to prune a game tree branch by determining that a particular move is not to be considered for further recursive tree search; this method is expected to return quickly.
pruneMove(GamePlay, GameMove, int[]) - Method in class com.antelmann.game.SocketPlayer
 
pruneMove(GamePlay, GameMove, int[]) - Method in class com.antelmann.game.TemplatePlayer
unless overridden, this method returns always false
punch(PunchData) - Method in class com.antelmann.timeregister.AbstractPunchDB
first verifies the PunchData, then stores it, and finally calls the listeners.
punch(PunchData) - Method in interface com.antelmann.timeregister.PunchDB
performs consistency check before adding the entry.
punch(PunchData) - Method in class com.antelmann.timeregister.PunchDBClient
 
punch(User) - Method in class com.antelmann.timeregister.PunchStation
punches the given user in/out depending on whether he/she was checked out/in before.
punch(User, String) - Method in class com.antelmann.timeregister.PunchStation
punches the given user in/out depending on whether he/she was checked out/in before.
punch(User, boolean) - Method in class com.antelmann.timeregister.PunchStation
uses the current activity setting of this instance
punch(User, boolean, String) - Method in class com.antelmann.timeregister.PunchStation
stores the PunchData after checking some basic consistency w/ existing data.
punch(PunchData) - Method in class com.antelmann.timeregister.RemotePunchDBClient
 
punchActivityField - Variable in class com.antelmann.timeregister.SQLPunchDB
 
PunchAdminDB - Interface in com.antelmann.timeregister
adds the ability to administrate a punch entry database
PunchAdminTool - Class in com.antelmann.timeregister
allows to edit the database manually
PunchAdminTool(PunchAdminDB, Logger) - Constructor for class com.antelmann.timeregister.PunchAdminTool
 
PunchAdminTool(PunchAdminDB, Logger, User) - Constructor for class com.antelmann.timeregister.PunchAdminTool
 
punchCheckField - Variable in class com.antelmann.timeregister.SQLPunchDB
 
PunchClientFrame - Class in com.antelmann.timeregister
a GUI that uses a PunchDBClient to serve as a PunchStation.
PunchClientFrame(String, String) - Constructor for class com.antelmann.timeregister.PunchClientFrame
uses port 2004
PunchClientFrame(String, String, int) - Constructor for class com.antelmann.timeregister.PunchClientFrame
 
PunchClientFrame(String, String, int, Logger) - Constructor for class com.antelmann.timeregister.PunchClientFrame
 
PunchClientFrame(PunchStation) - Constructor for class com.antelmann.timeregister.PunchClientFrame
 
punchCommentField - Variable in class com.antelmann.timeregister.SQLPunchDB
 
PunchData - Class in com.antelmann.timeregister
encapsulates the check-in or a check-out data for an employee's time-punch.
PunchData(User, Date, boolean, String) - Constructor for class com.antelmann.timeregister.PunchData
 
PunchData(User, Date, boolean, String, String, String) - Constructor for class com.antelmann.timeregister.PunchData
the activity is ignored on checkout
PunchDataAnalyzer - Class in com.antelmann.timeregister
used to analyze PunchData objects.
PunchDataAnalyzer() - Constructor for class com.antelmann.timeregister.PunchDataAnalyzer
 
PunchDataAnalyzer(PunchDB) - Constructor for class com.antelmann.timeregister.PunchDataAnalyzer
 
PunchDataAnalyzer(PunchDataAnalyzer) - Constructor for class com.antelmann.timeregister.PunchDataAnalyzer
 
PunchDataAnalyzer(Collection<PunchData>) - Constructor for class com.antelmann.timeregister.PunchDataAnalyzer
 
PunchDB - Interface in com.antelmann.timeregister
represents a database for holding PunchData objects.
PunchDBClient - Class in com.antelmann.timeregister
uses a NetConnection to communicate to a PunchDBServer that handles requests.
PunchDBClient(String) - Constructor for class com.antelmann.timeregister.PunchDBClient
uses the standard port
PunchDBClient(String, int) - Constructor for class com.antelmann.timeregister.PunchDBClient
 
PunchDBClient(NetConnection) - Constructor for class com.antelmann.timeregister.PunchDBClient
Deprecated.  
PunchDBServer - Class in com.antelmann.timeregister
receives messages from a PunchDBClient and uses the given PunchDB
PunchDBServer(PunchAdminDB) - Constructor for class com.antelmann.timeregister.PunchDBServer
 
PunchDBServer(PunchAdminDB, Logger) - Constructor for class com.antelmann.timeregister.PunchDBServer
 
punchEmployeeField - Variable in class com.antelmann.timeregister.SQLPunchDB
 
PunchListener - Interface in com.antelmann.timeregister
allows to listen to time punches
punchLocationField - Variable in class com.antelmann.timeregister.SQLPunchDB
 
punchPerformed(PunchDB, PunchData) - Method in interface com.antelmann.timeregister.PunchListener
called only after the given PunchData object has been successfully committed to the database
punchPerformed(PunchDB, PunchData) - Method in class com.antelmann.timeregister.WorkUnitGenerator
 
punchPerformed2(PunchDB, PunchData) - Method in class com.antelmann.timeregister.WorkUnitGenerator
 
punchPerformedOld(PunchDB, PunchData) - Method in class com.antelmann.timeregister.WorkUnitGenerator
 
PunchServerFrame - Class in com.antelmann.timeregister
a GUI that provides a server to JPunchClients using a NetConnectionServer.
PunchServerFrame(PunchAdminDB) - Constructor for class com.antelmann.timeregister.PunchServerFrame
uses port 2004 and runs the NTPServer
PunchServerFrame(PunchAdminDB, int) - Constructor for class com.antelmann.timeregister.PunchServerFrame
runs the NTPServer
PunchServerFrame(PunchAdminDB, Logger, boolean) - Constructor for class com.antelmann.timeregister.PunchServerFrame
uses port 2004
PunchServerFrame(PunchAdminDB, int, Logger, boolean) - Constructor for class com.antelmann.timeregister.PunchServerFrame
 
PunchServerTray - Class in com.antelmann.timeregister
a system tray icon menu that provides a server to JPunchClients using a NetConnectionServer.
PunchServerTray(PunchAdminDB, int, Logger, Icon, boolean) - Constructor for class com.antelmann.timeregister.PunchServerTray
 
PunchStation - Class in com.antelmann.timeregister
PunchStation represents a location where employees can punch their times.
PunchStation(PunchDB, String, TimeSystem) - Constructor for class com.antelmann.timeregister.PunchStation
 
PunchStation(PunchDB, String, TimeSystem, Logger) - Constructor for class com.antelmann.timeregister.PunchStation
 
PunchStation(PunchDB, String, TimeSystem, Logger, String) - Constructor for class com.antelmann.timeregister.PunchStation
 
PunchTableModel - Class in com.antelmann.timeregister
visualizes a snapshot of a PunchDataAnalyzer
PunchTableModel(PunchDataAnalyzer) - Constructor for class com.antelmann.timeregister.PunchTableModel
 
punchTableName - Variable in class com.antelmann.timeregister.SQLPunchDB
 
punchTimeField - Variable in class com.antelmann.timeregister.SQLPunchDB
 
PunchUtils - Class in com.antelmann.timeregister
 
PunchUtils() - Constructor for class com.antelmann.timeregister.PunchUtils
 
purge() - Method in class com.antelmann.calendar.AlertTimer
purges all alerts
purge() - Method in class com.antelmann.util.logging.JTextComponentLog
purges the log buffer
pushMove(GameMove) - Method in class com.antelmann.game.AbstractGame
pushMove takes a GameMove and alters the game according to to the move.
pushMove(GameMove) - Method in class com.antelmann.game.awari.AwariGame
 
pushMove(GameMove) - Method in class com.antelmann.game.card.BlackJack
 
pushMove(GameMove) - Method in class com.antelmann.game.checkers.CheckersGame
 
pushMove(GameMove) - Method in class com.antelmann.game.chess.ChessGame
 
pushMove(GameMove) - Method in class com.antelmann.game.fourwins.FourWinsGame
 
pushMove(GameMove) - Method in class com.antelmann.game.gomoku.GomokuGame
 
pushMove(GameMove) - Method in class com.antelmann.game.mine.MineSweeper
 
pushMove(GameMove) - Method in class com.antelmann.game.muehle.MuehleGame
 
pushMove(GameMove) - Method in class com.antelmann.game.puzzle.EightQueens
 
pushMove(GameMove) - Method in class com.antelmann.game.puzzle.Solitaire
 
pushMove(GameMove) - Method in class com.antelmann.game.puzzle.TilePuzzle
 
pushMove(GameMove) - Method in class com.antelmann.game.puzzle.WSPuzzle
 
pushMove(GameMove) - Method in class com.antelmann.game.reversi.ReversiGame
 
pushMove(GameMove) - Method in class com.antelmann.game.ttt.TickTackToe
 
pushMove(GameMove) - Method in class com.antelmann.game.wolfsheep.WolfsheepGame
 
putClassStore(Class<T>, DBClassStore<T>) - Method in class com.antelmann.mgmt.AbstractDatabase
 
PuzzleNotSolvableException - Exception in com.antelmann.game.puzzle
 
PuzzleNotSolvableException(GamePlay, String) - Constructor for exception com.antelmann.game.puzzle.PuzzleNotSolvableException
 

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
(c) 2001-2006 Holger Antelmann - all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads