|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.miami.romeo.config.Utils
Field Summary | |
int |
x
|
Constructor Summary | |
Utils()
Constructor without parameters. |
|
Utils(java.io.File config_file)
Parameters for the constructor: File config_file. |
|
Utils(java.io.File config_file,
java.io.File language_file)
Parameters for the constructor: File config_file, File language_file. |
|
Utils(java.lang.String config_name)
Parameters for the constructor: String config_name. |
|
Utils(java.lang.String config_name,
java.lang.String language_name)
Parameters for the constructor: String config_name, String language_name. |
Method Summary | |
void |
checkFiles()
This method verifies if all files needed by Romeo exist. |
java.lang.String |
concatenateValues(java.lang.String[] dir,
java.lang.String separator)
|
javax.swing.ImageIcon |
createImageIcon16x16(java.lang.String filename)
Creates an icon 16x16 from an image contained in the "images" directory. |
javax.swing.ImageIcon |
createImageIcon24x24(java.lang.String filename)
Creates an icon 24x24 from an image contained in the "images" directory. |
javax.swing.ImageIcon |
createImageIcon32x32(java.lang.String filename)
Creates an icon 32x32 from an image contained in the "images" directory. |
int |
getFrameParameter(javax.swing.JFrame frame,
java.lang.String suffix)
This method retrieves an int from the configuration file to be used building modules. |
char |
getMnemonic(java.lang.String key)
This method returns a mnemonic. |
java.lang.String |
getString(java.lang.String text)
This method returns a string value to identify a generic component. |
void |
goToUrl(java.lang.String homepage)
This method runs system browser or hyperlink module to go to an url location |
void |
message(javax.swing.JLabel label,
java.lang.String str)
his method sets the messages in a label |
java.lang.String[] |
parseValues(java.lang.String row,
char c)
|
void |
saveFrameParameters(javax.swing.JFrame frame,
Info info)
Save frame parameters in the configuration file. |
void |
setProgressBarMaximum(javax.swing.JProgressBar progressBar,
int value)
This method sets the progress bar maximum value |
void |
setProgressBarString(javax.swing.JProgressBar progressBar,
java.lang.String string)
This method sets the progress bar string |
void |
setProgressBarValue(javax.swing.JProgressBar progressBar,
int value)
This method sets the progress bar value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int x
Constructor Detail |
public Utils(java.lang.String config_name)
public Utils(java.io.File config_file)
public Utils(java.lang.String config_name, java.lang.String language_name)
public Utils(java.io.File config_file, java.io.File language_file)
public Utils()
Method Detail |
public void checkFiles()
public char getMnemonic(java.lang.String key)
public javax.swing.ImageIcon createImageIcon16x16(java.lang.String filename)
public javax.swing.ImageIcon createImageIcon24x24(java.lang.String filename)
public javax.swing.ImageIcon createImageIcon32x32(java.lang.String filename)
public java.lang.String getString(java.lang.String text)
public void message(javax.swing.JLabel label, java.lang.String str)
public void setProgressBarValue(javax.swing.JProgressBar progressBar, int value)
public void setProgressBarMaximum(javax.swing.JProgressBar progressBar, int value)
public void setProgressBarString(javax.swing.JProgressBar progressBar, java.lang.String string)
public void goToUrl(java.lang.String homepage)
public java.lang.String concatenateValues(java.lang.String[] dir, java.lang.String separator)
public java.lang.String[] parseValues(java.lang.String row, char c)
public int getFrameParameter(javax.swing.JFrame frame, java.lang.String suffix)
public void saveFrameParameters(javax.swing.JFrame frame, Info info)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |