|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.hdf.install.Page
cz.hdf.cdnavigator.install.CachePage
public class CachePage
Page for configuring CD cache panel.
| Field Summary | |
|---|---|
protected cz.hdf.gui.HCheckBox |
cacheAutoCheck
use automatic cache |
protected javax.swing.JButton |
cacheDirButton
field browse button |
protected javax.swing.JTextField |
cacheDirField
cache directory field |
protected cz.hdf.gui.HRadioButton |
cacheFullRadio
use whole disk for caching |
protected cz.hdf.gui.HCheckBox |
cacheMoviesCheck
cache movies? |
protected cz.hdf.gui.HCheckBox |
cacheMusicCheck
cache music? |
protected cz.hdf.gui.HCheckBox |
cachePhotosCheck
cache photos? |
protected javax.swing.JTextField |
cacheSizeField
maximum cache size field |
protected cz.hdf.gui.HLabel |
cacheSizeLabel
maximum cache size label (MB) |
protected cz.hdf.gui.HRadioButton |
cacheSizeRadio
use maximum cache size for caching |
private java.lang.String |
label
page label |
(package private) java.util.logging.Logger |
logger
Logger. |
private cz.hdf.gui.HPanel |
page
page panel |
| Fields inherited from class cz.hdf.install.Page |
|---|
frame, identifier, nextPages, prevPage |
| Constructor Summary | |
|---|---|
CachePage(java.awt.Frame _frame,
java.lang.String _identifier)
Inititalize page content and installer buttons. |
|
| Method Summary | |
|---|---|
private int |
checkSizeField()
Check if size field is a number. |
private void |
createFolder(java.lang.String _folderPath)
|
void |
discardChanges()
Discard all changes/values and set original values. |
java.lang.String |
getLabel()
Get not localized page label. |
javax.swing.JPanel |
getPage()
Get panel with page content. |
void |
initLayout()
In this method must be implemented layouting components. |
void |
loadConfig()
Load configuration into GUI objects. |
static void |
main(java.lang.String[] args)
Testing ... |
int |
processPage()
Check data and return error code. |
void |
relocalize()
Relocalize all components. |
void |
showErrorDialog(int _errorCode)
Nothing to do. |
void |
startPage()
This method is called after selecting and painting page. |
| Methods inherited from class cz.hdf.install.Page |
|---|
getIdentifier, getNextPage, getPrevPage, hasNextPage, hasPrevPage, setIdentifier, setNextPage, setNextPages, setPrevPage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String label
private cz.hdf.gui.HPanel page
protected javax.swing.JTextField cacheDirField
protected javax.swing.JButton cacheDirButton
protected cz.hdf.gui.HCheckBox cacheAutoCheck
protected cz.hdf.gui.HRadioButton cacheFullRadio
protected cz.hdf.gui.HRadioButton cacheSizeRadio
protected javax.swing.JTextField cacheSizeField
protected cz.hdf.gui.HLabel cacheSizeLabel
protected cz.hdf.gui.HCheckBox cachePhotosCheck
protected cz.hdf.gui.HCheckBox cacheMusicCheck
protected cz.hdf.gui.HCheckBox cacheMoviesCheck
java.util.logging.Logger logger
| Constructor Detail |
|---|
public CachePage(java.awt.Frame _frame,
java.lang.String _identifier)
| Method Detail |
|---|
public void initLayout()
initLayout in class cz.hdf.install.Pageprivate int checkSizeField()
public void loadConfig()
loadConfig in class cz.hdf.install.Pagepublic javax.swing.JPanel getPage()
getPage in class cz.hdf.install.PageJPanelpublic java.lang.String getLabel()
getLabel in class cz.hdf.install.Pagepublic void startPage()
startPage in class cz.hdf.install.Pagepublic void discardChanges()
public int processPage()
processPage in class cz.hdf.install.Pagepublic void showErrorDialog(int _errorCode)
showErrorDialog in class cz.hdf.install.Page_errorCode - error code specifying errorprocessPage()private void createFolder(java.lang.String _folderPath)
public void relocalize()
public static void main(java.lang.String[] args)
args -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||