|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.SwingWorker<java.lang.String,java.lang.String>
com.avian.birds.basebirds.AbstractBasicBird
com.avian.birds.basebirds.StdBird
com.avian.birds.db.FNameBBird
public class FNameBBird
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.SwingWorker |
---|
javax.swing.SwingWorker.StateValue |
Field Summary | |
---|---|
java.lang.String |
dbDriver
Xmv annotated variable that allows you to select the database driver at runtime. |
java.lang.String |
dbLogin
Xmv annotated variable that allows you to select the login name at runtime. |
java.lang.String |
dbName
Xmv annotated variable that allows you to select the database at runtime. |
java.lang.String |
dbPW
Xmv annotated variable that allows you to select the password at runtime. |
java.lang.String |
dbQty
Xmv annotated variable that allows you to select how many first name records to retrieve from the database at runtime. |
java.lang.String |
dbSQLStatement
Xmv annotated variable that allows you to define the SQL statement at runtime. |
java.lang.String |
dbURL
Xmv annotated variable that allows you to change the database at runtime Requires a matching setter method. |
Fields inherited from class com.avian.birds.basebirds.StdBird |
---|
foodFromTree, healthStatus, jbRefStart, jlRefLastAte, jtaRefHistory, jtfRefHealth, mts, myTupleTree, nts, sampleXmv, startButtonText |
Fields inherited from class com.avian.birds.basebirds.AbstractBasicBird |
---|
bhf, bif, birdDesc, birdHistory, birdName, bof, eatsFood, hatchTime, historyFileName, inputFileName, lastAte, levelOfInfo, lifeTime, napLength, outputFileName, stamina, stopNow, storesFood |
Constructor Summary | |
---|---|
FNameBBird()
|
Method Summary | |
---|---|
void |
digest()
Overrides the StdBird digest method just to skip the time delay in StdBird.digest() whose goal is to simulate actual work being done |
void |
eatFood()
Get one first name from a database. |
void |
setDbDriver(java.lang.String dbOther)
Copies the value in the database driver name field displayed in the Aviary and writes it to the dbDriver variable. |
void |
setDbLogin(java.lang.String dbLogin)
Copies the value in the db login field displayed in the Aviary and writes it to the dbLogin variable. |
void |
setDbName(java.lang.String dbName)
Copies the value in the database name field displayed in the Aviary and writes it to the dbName variable. |
void |
setDbPW(java.lang.String dbPW)
Copies the value in the db password field displayed in the Aviary and writes it to the dbPW variable. |
void |
setDbQty(java.lang.String dbNbr)
Copies the value in the qty field displayed in the Aviary and writes it to the dbQty variable. |
void |
setDbSQLStatement(java.lang.String dbSQLStatement)
Copies the value in the SQL Statement field displayed in the Aviary and writes it to the dbStatement variable. |
void |
setDbURL(java.lang.String dbURL)
Copies the value in the database URL field displayed in the Aviary and writes it to the dbURL variable. |
void |
storeFood()
Puts the digested food out for other Birds to eat. |
Methods inherited from class com.avian.birds.basebirds.StdBird |
---|
checkAge, done, setHealthRef, setHealthStatus, setHistoryAreaRef, setJlRefLastAte, setStartButtonRef, setStartButtonText, setTupleTree |
Methods inherited from class com.avian.birds.basebirds.AbstractBasicBird |
---|
addToBirdHistory, doInBackground, getAuxFood, getBirdDescription, getBirdHistory, getBirdName, getEatsFood, getHatchTime, getHistoryFileName, getInputFileName, getLastAte, getLevelOfInfo, getLifeTime, getNameOfFoodToStore, getNapLength, getOutputFileName, getStamina, isStopNow, setBhf, setBif, setBirdDesc, setBirdHistory, setBirdName, setBof, setEatsFood, setHatchTime, setHistoryFileName, setInputFileName, setLevelOfInfo, setLevelOfInfo, setLifeTime, setNapLength, setOutputFileName, setStamina, setStopNow, setStoresFood |
Methods inherited from class javax.swing.SwingWorker |
---|
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, process, publish, removePropertyChangeListener, run, setProgress |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String dbURL
public java.lang.String dbLogin
public java.lang.String dbPW
public java.lang.String dbSQLStatement
public java.lang.String dbName
public java.lang.String dbDriver
public java.lang.String dbQty
Constructor Detail |
---|
public FNameBBird()
Method Detail |
---|
public void setDbURL(java.lang.String dbURL)
dbURL
- is the String value that is entered into this field in Aviary.public void setDbLogin(java.lang.String dbLogin)
dbLogin
- is the String value that is entered into this field in Aviary.public void setDbPW(java.lang.String dbPW)
dbPW
- is the String value that is entered into this field in Aviary.public void setDbSQLStatement(java.lang.String dbSQLStatement)
dbSQLStatement
- is the String value that is entered into this field in Aviary.public void setDbName(java.lang.String dbName)
dbName
- is the String value that is entered into this field in Aviary.public void setDbDriver(java.lang.String dbOther)
dbOther
- is the String value that is entered into this field in Aviary.public void setDbQty(java.lang.String dbNbr)
dbNbr
- is the String value that is entered into this field in Aviary.public void eatFood()
eatFood
in class StdBird
public void digest()
digest
in class StdBird
public void storeFood()
storeFood
in class StdBird
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |