Package com.github.weisj.swingdsl.laf
Interface ComponentFactory
- All Known Implementing Classes:
ComponentFactoryDelegate
public interface ComponentFactory
-
Field Summary
Fields Modifier and Type Field Description static StringCOMPONENT_FACTORY_PROVIDER_KEY -
Method Summary
-
Field Details
-
COMPONENT_FACTORY_PROVIDER_KEY
- See Also:
- Constant Field Values
-
-
Method Details
-
createLabel
@NotNull @NotNull WrappedComponent<JLabel> createLabel(@NotNull @NotNull TextProperty text, @Nullable @Nullable Icon icon) -
createButton
@NotNull @NotNull WrappedComponent<JButton> createButton(@NotNull @NotNull TextProperty text, @Nullable @Nullable Icon icon) -
createCheckBox
@NotNull @NotNull WrappedComponent<JCheckBox> createCheckBox(@NotNull @NotNull TextProperty text, @Nullable @Nullable Icon icon) -
createRadioButton
@NotNull @NotNull WrappedComponent<JRadioButton> createRadioButton(@NotNull @NotNull TextProperty text, @Nullable @Nullable Icon icon) -
createScrollPane
@NotNull @NotNull WrappedComponent<JScrollPane> createScrollPane(@NotNull @NotNull JComponent content) -
createList
@NotNull <T> @NotNull WrappedComponent<JList<T>> createList(@NotNull @NotNull ListModel<T> content) -
createSplitPane
@NotNull @NotNull WrappedComponent<JSplitPane> createSplitPane(@NotNull @NotNull JComponent left, @NotNull @NotNull JComponent right) -
createSeparatorComponent
@NotNull @NotNull ComponentSpec<JComponent> createSeparatorComponent(@Nullable @Nullable TextProperty label) -
createCollapsibleSeparatorComponent
@NotNull @NotNull ComponentSpec<CollapsibleComponent> createCollapsibleSeparatorComponent(@Nullable @Nullable TextProperty label) -
getDividerColor
-
getBorderColor
-
getHyperlinkColor
-
getHyperlinkClickColor
-
getSecondaryTextForeground
-
getColorBackgroundColor
-
getWarningColor
-
getErrorColor
-
getExpandedIcon
-
getCollapsedIcon
-