cz.hdf.cdnavigator.install
Class TempRoastPage

java.lang.Object
  extended by cz.hdf.install.Page
      extended by cz.hdf.cdnavigator.install.TempRoastPage
All Implemented Interfaces:
cz.hdf.gui.HRelocalize

public class TempRoastPage
extends cz.hdf.install.Page

Page for configuring CD temp-roast panel and cache panel.

Author:
hunter

Field Summary
protected  javax.swing.JButton cdrecordButton
           
protected  javax.swing.JTextField cdrecordField
           
protected  javax.swing.JButton growisofsButton
           
protected  javax.swing.JTextField growisofsField
           
private  java.lang.String label
          page label
(package private)  java.util.logging.Logger logger
          Logger.
protected  javax.swing.JButton mkisofsButton
           
protected  javax.swing.JTextField mkisofsField
           
private  cz.hdf.gui.HPanel page
          page panel
protected  javax.swing.JButton tempDirButton
          field browse button
protected  javax.swing.JTextField tempDirField
          temp directory field
 
Fields inherited from class cz.hdf.install.Page
frame, identifier, nextPages, prevPage
 
Constructor Summary
TempRoastPage(java.awt.Frame _frame, java.lang.String _identifier)
          Inititalize page content and installer buttons.
 
Method Summary
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

label

private java.lang.String label
page label


page

private cz.hdf.gui.HPanel page
page panel


tempDirField

protected javax.swing.JTextField tempDirField
temp directory field


tempDirButton

protected javax.swing.JButton tempDirButton
field browse button


cdrecordField

protected javax.swing.JTextField cdrecordField

cdrecordButton

protected javax.swing.JButton cdrecordButton

mkisofsField

protected javax.swing.JTextField mkisofsField

mkisofsButton

protected javax.swing.JButton mkisofsButton

growisofsField

protected javax.swing.JTextField growisofsField

growisofsButton

protected javax.swing.JButton growisofsButton

logger

java.util.logging.Logger logger
Logger. Hierarchy is set to name of this class.

Constructor Detail

TempRoastPage

public TempRoastPage(java.awt.Frame _frame,
                     java.lang.String _identifier)
Inititalize page content and installer buttons.

Method Detail

initLayout

public void initLayout()
In this method must be implemented layouting components. This is usefull when extended child want changed layouting.

Specified by:
initLayout in class cz.hdf.install.Page

loadConfig

public void loadConfig()
Load configuration into GUI objects.

Specified by:
loadConfig in class cz.hdf.install.Page

getPage

public javax.swing.JPanel getPage()
Get panel with page content.

Specified by:
getPage in class cz.hdf.install.Page
Returns:
JPanel

getLabel

public java.lang.String getLabel()
Get not localized page label.

Specified by:
getLabel in class cz.hdf.install.Page
Returns:
string label

startPage

public void startPage()
This method is called after selecting and painting page.

Specified by:
startPage in class cz.hdf.install.Page

discardChanges

public void discardChanges()
Discard all changes/values and set original values.


processPage

public int processPage()
Check data and return error code.

Specified by:
processPage in class cz.hdf.install.Page
Returns:
0 all is OK; -1 temp dir problem; -2 cdrecord file problem, -3 mkisofs problem, -4 growisofs problem

showErrorDialog

public void showErrorDialog(int _errorCode)
Nothing to do. No errors generated.

Specified by:
showErrorDialog in class cz.hdf.install.Page
Parameters:
_errorCode - error code specifying error
See Also:
processPage()

createFolder

private void createFolder(java.lang.String _folderPath)

relocalize

public void relocalize()
Relocalize all components.


main

public static void main(java.lang.String[] args)
Testing ...

Parameters:
args -


CDnavigator JavaDoc, HDF company www.hdf.cz