Package com.github.weisj.swingdsl.laf
Class ComponentFactoryDelegate
java.lang.Object
com.github.weisj.swingdsl.laf.ComponentFactoryDelegate
- All Implemented Interfaces:
ComponentFactory
public class ComponentFactoryDelegate extends Object implements ComponentFactory
-
Field Summary
Fields inherited from interface com.github.weisj.swingdsl.laf.ComponentFactory
COMPONENT_FACTORY_PROVIDER_KEY -
Constructor Summary
Constructors Constructor Description ComponentFactoryDelegate(ComponentFactory delegate) -
Method Summary
-
Constructor Details
-
ComponentFactoryDelegate
-
-
Method Details
-
getDelegate
-
createLabel
@NotNull public @NotNull WrappedComponent<@NotNull JLabel> createLabel(@NotNull @NotNull TextProperty text, Icon icon)- Specified by:
createLabelin interfaceComponentFactory
-
createButton
@NotNull public @NotNull WrappedComponent<@NotNull JButton> createButton(@NotNull @NotNull TextProperty text, Icon icon)- Specified by:
createButtonin interfaceComponentFactory
-
createCheckBox
@NotNull public @NotNull WrappedComponent<@NotNull JCheckBox> createCheckBox(@NotNull @NotNull TextProperty text, @Nullable @Nullable Icon icon)- Specified by:
createCheckBoxin interfaceComponentFactory
-
createRadioButton
@NotNull public @NotNull WrappedComponent<@NotNull JRadioButton> createRadioButton(@NotNull @NotNull TextProperty text, @Nullable @Nullable Icon icon)- Specified by:
createRadioButtonin interfaceComponentFactory
-
createScrollPane
@NotNull public @NotNull WrappedComponent<@NotNull JScrollPane> createScrollPane(@NotNull @NotNull JComponent content)- Specified by:
createScrollPanein interfaceComponentFactory
-
createList
@NotNull public <T> @NotNull WrappedComponent<@NotNull JList<T>> createList(@NotNull @NotNull ListModel<T> content)- Specified by:
createListin interfaceComponentFactory
-
createSplitPane
@NotNull public @NotNull WrappedComponent<@NotNull JSplitPane> createSplitPane(@NotNull @NotNull JComponent left, @NotNull @NotNull JComponent right)- Specified by:
createSplitPanein interfaceComponentFactory
-
createSeparatorComponent
@NotNull public @NotNull ComponentSpec<@Nullable JComponent> createSeparatorComponent(@Nullable @Nullable TextProperty label)- Specified by:
createSeparatorComponentin interfaceComponentFactory
-
createCollapsibleSeparatorComponent
@NotNull public @NotNull ComponentSpec<@Nullable CollapsibleComponent> createCollapsibleSeparatorComponent(@Nullable @Nullable TextProperty label)- Specified by:
createCollapsibleSeparatorComponentin interfaceComponentFactory
-
getDividerColor
- Specified by:
getDividerColorin interfaceComponentFactory
-
getBorderColor
- Specified by:
getBorderColorin interfaceComponentFactory
-
getHyperlinkColor
- Specified by:
getHyperlinkColorin interfaceComponentFactory
-
getHyperlinkClickColor
- Specified by:
getHyperlinkClickColorin interfaceComponentFactory
-
getSecondaryTextForeground
- Specified by:
getSecondaryTextForegroundin interfaceComponentFactory
-
getColorBackgroundColor
- Specified by:
getColorBackgroundColorin interfaceComponentFactory
-
getWarningColor
- Specified by:
getWarningColorin interfaceComponentFactory
-
getErrorColor
- Specified by:
getErrorColorin interfaceComponentFactory
-
getExpandedIcon
- Specified by:
getExpandedIconin interfaceComponentFactory
-
getCollapsedIcon
- Specified by:
getCollapsedIconin interfaceComponentFactory
-