|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.kernow.ui.ViewHelper
public class ViewHelper
Constructor Summary | |
---|---|
ViewHelper()
|
Method Summary | |
---|---|
java.lang.String |
chooseFile(javax.swing.JComboBox comboBox,
boolean chooseAFolder)
TODO: ... |
java.lang.String |
getComboBoxValue(javax.swing.JComboBox comboBox)
Returns the currently selected combobox value. |
void |
loadComboBoxValues(java.util.Properties properties,
javax.swing.JComboBox comboBox,
java.lang.String name)
TODO: ... |
void |
saveComboBoxValues(java.util.Properties props,
javax.swing.JComboBox comboBox,
java.lang.String name)
TODO: ... |
void |
setCaretPosition(javax.swing.JComboBox comboBox)
When the text is longer than the text box it gets centered, this method ensures they all show the end of the text, eg the filename. |
void |
updateComboBoxNoDuplicate(javax.swing.JComboBox comboBox)
TODO: ... |
void |
updateComboBoxNoDuplicate(javax.swing.JComboBox comboBox,
java.lang.String value)
TODO: ... |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ViewHelper()
Method Detail |
---|
public java.lang.String getComboBoxValue(javax.swing.JComboBox comboBox)
public void loadComboBoxValues(java.util.Properties properties, javax.swing.JComboBox comboBox, java.lang.String name)
public void saveComboBoxValues(java.util.Properties props, javax.swing.JComboBox comboBox, java.lang.String name)
public void setCaretPosition(javax.swing.JComboBox comboBox)
public java.lang.String chooseFile(javax.swing.JComboBox comboBox, boolean chooseAFolder)
chooseAFolder
- true if the dialog should return a folder, false if a file is wantedpublic void updateComboBoxNoDuplicate(javax.swing.JComboBox comboBox)
public void updateComboBoxNoDuplicate(javax.swing.JComboBox comboBox, java.lang.String value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |