|
||||||||||
| 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.ScanPage
public class ScanPage
Page for configuring CD scanning.
| Field Summary | |
|---|---|
protected javax.swing.JButton |
deviceFileButton
field browse button |
protected javax.swing.JTextField |
deviceFileField
CD device field |
protected cz.hdf.gui.HListField |
devicesList
? |
protected javax.swing.JComboBox |
deviceTypeCombo
? |
protected javax.swing.JButton |
ejectButton
field browse button |
protected javax.swing.JTextField |
ejectField
binary eject field |
protected javax.swing.JButton |
isoinfoButton
field browse button |
protected javax.swing.JTextField |
isoinfoField
binary isoinfo field |
private java.lang.String |
label
page label |
(package private) java.util.logging.Logger |
logger
Logger. |
protected javax.swing.JButton |
mountButton
field browse button |
protected javax.swing.JButton |
mountDirButton
field browse button |
protected javax.swing.JTextField |
mountDirField
CD mount dir field |
protected javax.swing.JTextField |
mountField
binary mount field |
private cz.hdf.gui.HPanel |
page
page panel |
protected Config.Device |
saveDevice
last selected device. |
protected javax.swing.JButton |
umountButton
field browse button |
protected javax.swing.JTextField |
umountField
binary umount field |
| Fields inherited from class cz.hdf.install.Page |
|---|
frame, identifier, nextPages, prevPage |
| Constructor Summary | |
|---|---|
ScanPage(java.awt.Frame _frame,
java.lang.String _identifier)
Inititalize page content and installer buttons. |
|
| Method Summary | |
|---|---|
private int |
getItemIndex(javax.swing.table.TableModel _tm,
java.lang.Object _item)
Get index of item in list model. |
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 isoinfoField
protected javax.swing.JButton isoinfoButton
protected javax.swing.JTextField mountField
protected javax.swing.JButton mountButton
protected javax.swing.JTextField umountField
protected javax.swing.JButton umountButton
protected javax.swing.JTextField ejectField
protected javax.swing.JButton ejectButton
protected cz.hdf.gui.HListField devicesList
protected javax.swing.JComboBox deviceTypeCombo
protected javax.swing.JTextField deviceFileField
protected javax.swing.JButton deviceFileButton
protected javax.swing.JTextField mountDirField
protected javax.swing.JButton mountDirButton
protected Config.Device saveDevice
java.util.logging.Logger logger
| Constructor Detail |
|---|
public ScanPage(java.awt.Frame _frame,
java.lang.String _identifier)
_frame - _identifier - | Method Detail |
|---|
public void initLayout()
initLayout in class cz.hdf.install.Pagepublic 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 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()public void relocalize()
private int getItemIndex(javax.swing.table.TableModel _tm,
java.lang.Object _item)
_tm - list model_item - item to found
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 | |||||||||