Class SwingApplicationUtils
java.lang.Object
net.thevpc.echo.swing.SwingApplicationUtils
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbindEnabled(Component t, net.thevpc.common.props.WritableBoolean p) static voidbindSwingAppContent(Component jcomponent, SwingPeer aa) static voidbindVisible(Component t, net.thevpc.common.props.WritableBoolean p) static Stringstatic JComponentcreateMenuItem(AppTextControl b, Application application) static Fontstatic Stringstatic AppFontgetComponentFont(Component component, Application app) static voidstatic voidstatic voidstatic voidprepareAbstractButton(AbstractButton button, AppTextControl appComponent, Application app, boolean text) static ActionregisterAction(Action b, String messageId, String iconId, Application app) static voidregisterButton(AbstractButton b, String messageId, String iconId, Application app) static ActionregisterStandardAction(Action b, String actionId, Application app) static voidregisterStandardButton(AbstractButton b, String id, Application app) static net.thevpc.common.i18n.I18nStringregisterString(String b, Application app) static voidregisterString(net.thevpc.common.i18n.I18nString b, Application app) static voidsetComponentBackground(Component component, Color color) static voidsetComponentFont(Component component, Font initialFont, Boolean italic, Boolean bold, Boolean underline, Boolean strike) static voidsetComponentFont(Component component, AppFont initialFont, Boolean italic, Boolean bold, Boolean underline, Boolean strike) static voidsetComponentForeground(Component component, Color color) static voidsetComponentTextStrokeSize(Component component, Integer textStrokeSize) static voidsetLabelContentAlign(AbstractButton label, Anchor anchor) static voidsetLabelContentAlign(JLabel label, Anchor anchor) static voidsetLabelTextAlign(AbstractButton label, Anchor anchor) static voidsetLabelTextAlign(JLabel label, Anchor anchor) static voidunregisterAction(Action b, Application app) static voidstatic voidunregisterString(net.thevpc.common.i18n.I18nString b, Application app) static ActionupdateAction(Action b, String messageId, String iconId, Application app) static voidupdateAction(Action b, Application app) Deprecated.static voidupdateButton(AbstractButton b, Application app) Deprecated.static voidupdateString(net.thevpc.common.i18n.I18nString b, Application app) static voidupdateToolComponent(AppComponent subBinding, Application app)
-
Field Details
-
DISPATCH_PARENT_MOUSE_LISTENER
-
-
Constructor Details
-
SwingApplicationUtils
public SwingApplicationUtils()
-
-
Method Details
-
bindVisible
-
bindEnabled
-
invokeLong
-
invokeLater
-
invokeAndWait
-
prepareAbstractButton
public static void prepareAbstractButton(AbstractButton button, AppTextControl appComponent, Application app, boolean text) -
createMenuItem
-
updateButton
Deprecated.////////////////////////////////////////////////////////////////////// -
updateAction
Deprecated. -
registerStandardButton
-
registerButton
public static void registerButton(AbstractButton b, String messageId, String iconId, Application app) -
unregisterButton
-
updateString
-
registerString
-
registerString
-
unregisterString
-
registerStandardAction
-
registerAction
-
updateAction
-
unregisterAction
-
updateToolComponent
-
bindSwingAppContent
-
setComponentTextStrokeSize
-
deriveFont
-
getComponentFont
-
setComponentFont
-
setComponentForeground
-
setComponentBackground
-
setComponentFont
-
setLabelTextAlign
-
setLabelTextAlign
-
setLabelContentAlign
-
setLabelContentAlign
-
colorHashSting
-
fontHashString
-