public class SwingApplicationUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SwingApplicationUtils.Tracker |
| Modifier and Type | Field and Description |
|---|---|
static MouseListener |
DISPATCH_PARENT_MOUSE_LISTENER |
| Constructor and Description |
|---|
SwingApplicationUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
bindEnabled(Component t,
net.thevpc.common.props.WritableBoolean p) |
static void |
bindSwingAppContent(Component jcomponent,
SwingPeer aa) |
static void |
bindVisible(Component t,
net.thevpc.common.props.WritableBoolean p) |
static String |
colorHashSting(Color f) |
static JComponent |
createMenuItem(net.thevpc.echo.api.components.AppTextControl b,
net.thevpc.echo.Application application) |
static Font |
deriveFont(Font initialFont,
Boolean italic,
Boolean bold,
Boolean underline,
Boolean strike) |
static String |
fontHashString(Font f,
Boolean italic,
Boolean bold,
Boolean underline,
Boolean strike) |
static net.thevpc.echo.api.AppFont |
getComponentFont(Component component,
net.thevpc.echo.Application app) |
static void |
invokeAndWait(Runnable r) |
static void |
invokeLater(Runnable r) |
static void |
invokeLong(Runnable r) |
static void |
prepareAbstractButton(AbstractButton button,
net.thevpc.echo.api.components.AppTextControl appComponent,
net.thevpc.echo.Application app,
boolean text) |
static Action |
registerAction(Action b,
String messageId,
String iconId,
net.thevpc.echo.Application app) |
static void |
registerButton(AbstractButton b,
String messageId,
String iconId,
net.thevpc.echo.Application app) |
static Action |
registerStandardAction(Action b,
String actionId,
net.thevpc.echo.Application app) |
static void |
registerStandardButton(AbstractButton b,
String id,
net.thevpc.echo.Application app) |
static void |
registerString(net.thevpc.common.i18n.I18nString b,
net.thevpc.echo.Application app) |
static net.thevpc.common.i18n.I18nString |
registerString(String b,
net.thevpc.echo.Application app) |
static void |
setComponentBackground(Component component,
Color color) |
static void |
setComponentFont(Component component,
net.thevpc.echo.api.AppFont initialFont,
Boolean italic,
Boolean bold,
Boolean underline,
Boolean strike) |
static void |
setComponentFont(Component component,
Font initialFont,
Boolean italic,
Boolean bold,
Boolean underline,
Boolean strike) |
static void |
setComponentForeground(Component component,
Color color) |
static void |
setComponentTextStrokeSize(Component component,
Integer textStrokeSize) |
static void |
setLabelContentAlign(AbstractButton label,
net.thevpc.echo.constraints.Anchor anchor) |
static void |
setLabelContentAlign(JLabel label,
net.thevpc.echo.constraints.Anchor anchor) |
static void |
setLabelTextAlign(AbstractButton label,
net.thevpc.echo.constraints.Anchor anchor) |
static void |
setLabelTextAlign(JLabel label,
net.thevpc.echo.constraints.Anchor anchor) |
static void |
unregisterAction(Action b,
net.thevpc.echo.Application app) |
static void |
unregisterButton(AbstractButton b,
net.thevpc.echo.Application app) |
static void |
unregisterString(net.thevpc.common.i18n.I18nString b,
net.thevpc.echo.Application app) |
static void |
updateAction(Action b,
net.thevpc.echo.Application app)
Deprecated.
|
static Action |
updateAction(Action b,
String messageId,
String iconId,
net.thevpc.echo.Application app) |
static void |
updateButton(AbstractButton b,
net.thevpc.echo.Application app)
Deprecated.
|
static void |
updateString(net.thevpc.common.i18n.I18nString b,
net.thevpc.echo.Application app) |
static void |
updateToolComponent(net.thevpc.echo.api.components.AppComponent subBinding,
net.thevpc.echo.Application app) |
public static final MouseListener DISPATCH_PARENT_MOUSE_LISTENER
public static void bindVisible(Component t, net.thevpc.common.props.WritableBoolean p)
public static void bindEnabled(Component t, net.thevpc.common.props.WritableBoolean p)
public static void invokeLong(Runnable r)
public static void invokeLater(Runnable r)
public static void invokeAndWait(Runnable r)
public static void prepareAbstractButton(AbstractButton button, net.thevpc.echo.api.components.AppTextControl appComponent, net.thevpc.echo.Application app, boolean text)
public static JComponent createMenuItem(net.thevpc.echo.api.components.AppTextControl b, net.thevpc.echo.Application application)
@Deprecated public static void updateButton(AbstractButton b, net.thevpc.echo.Application app)
@Deprecated public static void updateAction(Action b, net.thevpc.echo.Application app)
public static void registerStandardButton(AbstractButton b, String id, net.thevpc.echo.Application app)
public static void registerButton(AbstractButton b, String messageId, String iconId, net.thevpc.echo.Application app)
public static void unregisterButton(AbstractButton b, net.thevpc.echo.Application app)
public static void updateString(net.thevpc.common.i18n.I18nString b,
net.thevpc.echo.Application app)
public static net.thevpc.common.i18n.I18nString registerString(String b, net.thevpc.echo.Application app)
public static void registerString(net.thevpc.common.i18n.I18nString b,
net.thevpc.echo.Application app)
public static void unregisterString(net.thevpc.common.i18n.I18nString b,
net.thevpc.echo.Application app)
public static Action registerStandardAction(Action b, String actionId, net.thevpc.echo.Application app)
public static Action registerAction(Action b, String messageId, String iconId, net.thevpc.echo.Application app)
public static Action updateAction(Action b, String messageId, String iconId, net.thevpc.echo.Application app)
public static void unregisterAction(Action b, net.thevpc.echo.Application app)
public static void updateToolComponent(net.thevpc.echo.api.components.AppComponent subBinding,
net.thevpc.echo.Application app)
public static void setComponentTextStrokeSize(Component component, Integer textStrokeSize)
public static Font deriveFont(Font initialFont, Boolean italic, Boolean bold, Boolean underline, Boolean strike)
public static net.thevpc.echo.api.AppFont getComponentFont(Component component, net.thevpc.echo.Application app)
public static void setComponentFont(Component component, net.thevpc.echo.api.AppFont initialFont, Boolean italic, Boolean bold, Boolean underline, Boolean strike)
public static void setComponentFont(Component component, Font initialFont, Boolean italic, Boolean bold, Boolean underline, Boolean strike)
public static void setLabelTextAlign(JLabel label, net.thevpc.echo.constraints.Anchor anchor)
public static void setLabelTextAlign(AbstractButton label, net.thevpc.echo.constraints.Anchor anchor)
public static void setLabelContentAlign(JLabel label, net.thevpc.echo.constraints.Anchor anchor)
public static void setLabelContentAlign(AbstractButton label, net.thevpc.echo.constraints.Anchor anchor)
Copyright © 2022 vpc open source initiative. All rights reserved.