Class SwingToolkit
java.lang.Object
net.thevpc.netbeans.launcher.ui.utils.SwingToolkit
- Author:
- thevpc
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateIcon(String icon) createIconButton(String icon, String tooltip, ButtonAction action) createIconButton0(String icon, String tooltip, ButtonAction action) createLabel(String textKey) deriveFont(Font initialFont) floatfontSize(float size) getComboSelectedObject(JComboBox combo) inticonSize()inticonSize(int size) voidopenFolder(String path) voidprepareComponent(JComponent component) voidprepareComponent(JComponent component, RefreshContext.Refresher r) voidrefreshComponent(JComponent component) static voidstatic voidvoidsetComboxValues(JComboBox combo, Object[] values, Object selected) voidsetControlDisabled(JComponent c, boolean disable) voidsetControlVisible(JComponent c, boolean visible) voidsetFrameInfo(FrameInfo frameInfo) booleanshowConfirm(SwingToolkit.Message title, SwingToolkit.Message message) voidshowError(SwingToolkit.Message title) voidshowError(SwingToolkit.Message title, Exception ex) voidshowError(SwingToolkit.Message title, SwingToolkit.Message message, Exception ex) voidshowSucess(SwingToolkit.Message title, SwingToolkit.Message message) voidshowWarning(SwingToolkit.Message title, SwingToolkit.Message message) voidupdateList(JList list, Object[] values, Equalizer e, Comparator comp) voidupdateTable(JTable table, Object[] values, Equalizer e, Comparator comp) voidupdateTable(CatalogComponent table, Object[] values, Equalizer e, Comparator comp, Runnable onFinish)
-
Constructor Details
-
SwingToolkit
-
-
Method Details
-
getFrameInfo
-
setFrameInfo
-
deriveFont
-
msg
-
showSucess
-
showWarning
-
showError
-
showError
-
showError
-
showConfirm
-
runAndWait
-
runLater
-
setComboxValues
-
createCombo
-
createText
-
createTextArea
-
getComboSelectedObject
-
setControlDisabled
-
setControlVisible
-
updateList
-
updateTable
-
updateTable
public void updateTable(CatalogComponent table, Object[] values, Equalizer e, Comparator comp, Runnable onFinish) -
createIconButton0
-
fontSize
public float fontSize(float size) -
createLabel
-
createLabel
-
iconSize
public int iconSize() -
iconSize
public int iconSize(int size) -
createIcon
-
prepareComponent
-
prepareComponent
-
refreshComponent
-
createIconButton
-
openFolder
-