Package de.team33.sphinx.metis
Interface Components.Setup<C extends Component,S extends Components.Setup<C,S>>
- Type Parameters:
C- The final type of the target instance, at leastComponent.S- The final type of the Setup implementation.
- All Superinterfaces:
Setup<C,S>
- All Known Subinterfaces:
AbstractButtons.Setup<B,,S> Containers.Setup<C,,S> Dialogs.Setup<D,,S> Frames.Setup<F,,S> JButtons.Setup<B,,S> JCheckBoxes.Setup<T,,S> JCheckBoxMenuItems.Setup<T,,S> JColorChoosers.Setup<T,,S> JComboBoxes.Setup<E,,T, S> JComponents.Setup<C,,S> JDesktopPanes.Setup<T,,S> JDialogs.Setup<T,,S> JEditorPanes.Setup<T,,S> JFileChoosers.Setup<T,,S> JFormattedTextFields.Setup<T,,S> JFrames.Setup<F,,S> JInternalFrames.Setup<T,,S> JLabels.Setup<L,,S> JLayeredPanes.Setup<T,,S> JLayers.Setup<C,,T, S> JLists.Setup<E,,T, S> JMenuBars.Setup<T,,S> JMenuItems.Setup<T,,S> JMenus.Setup<T,,S> JOptionPanes.Setup<T,,S> JPanels.Setup<P,,S> JPasswordFields.Setup<T,,S> JPopupMenus.Setup<T,,S> JProgressBars.Setup<T,,S> JRadioButtonMenuItems.Setup<T,,S> JRadioButtons.Setup<T,,S> JRootPanes.Setup<T,,S> JScrollBars.Setup<T,,S> JScrollPanes.Setup<T,,S> JSeparators.Setup<T,,S> JSliders.Setup<T,,S> JSpinners.Setup<T,,S> JSplitPanes.Setup<T,,S> JTabbedPanes.Setup<T,,S> JTableHeaders.Setup<T,,S> JTables.Setup<T,,S> JTextAreas.Setup<T,,S> JTextComponents.Setup<T,,S> JTextFields.Setup<T,,S> JTextPanes.Setup<T,,S> JToggleButtons.Setup<T,,S> JToolBars.Setup<T,,S> JToolTips.Setup<T,,S> JTrees.Setup<T,,S> JViewports.Setup<T,,S> JWindows.Setup<T,,S> Windows.Setup<W,S>
- All Known Implementing Classes:
AbstractButtons.Builder,AbstractButtons.Charger,Components.Builder,Components.Charger,Containers.Builder,Containers.Charger,Dialogs.Builder,Dialogs.Charger,Frames.Builder,Frames.Charger,JButtons.Builder,JButtons.Charger,JCheckBoxes.Builder,JCheckBoxes.Charger,JCheckBoxMenuItems.Builder,JCheckBoxMenuItems.Charger,JColorChoosers.Builder,JColorChoosers.Charger,JComboBoxes.Builder,JComboBoxes.Charger,JComponents.Builder,JComponents.Charger,JDesktopPanes.Builder,JDesktopPanes.Charger,JDialogs.Builder,JDialogs.Charger,JEditorPanes.Builder,JEditorPanes.Charger,JFileChoosers.Builder,JFileChoosers.Charger,JFormattedTextFields.Builder,JFormattedTextFields.Charger,JFrames.Builder,JFrames.Charger,JInternalFrames.Builder,JInternalFrames.Charger,JLabels.Builder,JLabels.Charger,JLayeredPanes.Builder,JLayeredPanes.Charger,JLayers.Builder,JLayers.Charger,JLists.Builder,JLists.Charger,JMenuBars.Builder,JMenuBars.Charger,JMenuItems.Builder,JMenuItems.Charger,JMenus.Builder,JMenus.Charger,JOptionPanes.Builder,JOptionPanes.Charger,JPanels.Builder,JPanels.Charger,JPasswordFields.Builder,JPasswordFields.Charger,JPopupMenus.Builder,JPopupMenus.Charger,JProgressBars.Builder,JProgressBars.Charger,JRadioButtonMenuItems.Builder,JRadioButtonMenuItems.Charger,JRadioButtons.Builder,JRadioButtons.Charger,JRootPanes.Builder,JRootPanes.Charger,JScrollBars.Builder,JScrollBars.Charger,JScrollPanes.Builder,JScrollPanes.Charger,JSeparators.Builder,JSeparators.Charger,JSliders.Builder,JSliders.Charger,JSpinners.Builder,JSpinners.Charger,JSplitPanes.Builder,JSplitPanes.Charger,JTabbedPanes.Builder,JTabbedPanes.Charger,JTableHeaders.Builder,JTableHeaders.Charger,JTables.Builder,JTables.Charger,JTextAreas.Builder,JTextAreas.Charger,JTextComponents.Builder,JTextComponents.Charger,JTextFields.Builder,JTextFields.Charger,JTextPanes.Builder,JTextPanes.Charger,JToggleButtons.Builder,JToggleButtons.Charger,JToolBars.Builder,JToolBars.Charger,JToolTips.Builder,JToolTips.Charger,JTrees.Builder,JTrees.Charger,JViewports.Builder,JViewports.Charger,JWindows.Builder,JWindows.Charger,Windows.Builder,Windows.Charger
- Enclosing class:
- Components
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface Components.Setup<C extends Component,S extends Components.Setup<C,S>>
extends Setup<C,S>
Utility interface to set up a target instance of
Component.-
Method Summary
Modifier and TypeMethodDescriptiondefault Sdefault Sremove(MenuComponent popup) default SsetBackground(Color color) default SsetBounds(int x, int y, int width, int height) default Sdefault Sdefault Sdefault Sdefault SsetEnabled(boolean enabled) default SsetFocusable(boolean focusable) default SsetFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes) default SsetFocusTraversalKeysEnabled(boolean focusTraversalKeysEnabled) default Sdefault SsetForeground(Color color) default SsetIgnoreRepaint(boolean ignoreRepaint) default Sdefault SsetLocation(int x, int y) default SsetLocation(Point p) default SsetMaximumSize(Dimension maximumSize) default SsetMinimumSize(Dimension minimumSize) default Sdefault SsetPreferredSize(Dimension preferredSize) default SsetSize(int width, int height) default Sdefault SsetVisible(boolean visible) default <M> SSubscribes to messages of type<M>sent by the underlying target instance in case of an event specified by the given channel and provides a suitable listener for message processing.default <M> SSubscribes to messages of type<M>sent by the underlying target instance in case of an event specified by the given channel and provides a suitable listener for message processing.
-
Method Details
-
subscribe
Subscribes to messages of type<M>sent by the underlying target instance in case of an event specified by the given channel and provides a suitable listener for message processing.- See Also:
-
subscribe
default <M> S subscribe(Channel<? super C, M> channel, Consumer<M> listener, Consumer<Subscription> collector) Subscribes to messages of type<M>sent by the underlying target instance in case of an event specified by the given channel and provides a suitable listener for message processing.Additionally, collects a resulting
Subscriptionthat can becanceledlater to stop processing further messages.- See Also:
-
add
- See Also:
-
remove
- See Also:
-
setBackground
- See Also:
-
setBounds
- See Also:
-
setBounds
- See Also:
-
setComponentOrientation
-
setCursor
- See Also:
-
setDropTarget
- See Also:
-
setEnabled
- See Also:
-
setFocusTraversalKeys
-
setFocusTraversalKeysEnabled
-
setFocusable
- See Also:
-
setFont
- See Also:
-
setForeground
- See Also:
-
setIgnoreRepaint
- See Also:
-
setLocale
- See Also:
-
setLocation
- See Also:
-
setLocation
- See Also:
-
setMaximumSize
- See Also:
-
setMinimumSize
- See Also:
-
setName
- See Also:
-
setPreferredSize
- See Also:
-
setSize
- See Also:
-
setSize
- See Also:
-
setVisible
- See Also:
-