Uses of Class
vaadinx.swing.JComponent
Packages that use JComponent
Package
Description
-
Uses of JComponent in vaadinx.swing
Subclasses of JComponent in vaadinx.swingModifier and TypeClassDescriptionclassEmulator forAbstractButton.classEmulator forBox.static classEmulator forBox.Filler.classPort ofDefaultListCellRenderer.classEmulator forJButton, rendered by itsSJButtonpeer.classEmulator forJCheckBox.classEmulator forJCheckBoxMenuItem.classEmulator forJColorChooser.classJComboBox<E>Emulator forJComboBox, rendered bySJComboBox(SD_sjcombobox).classEmulator forJDesktopPane.classEmulator forJEditorPane, rendered by aSJEditorPane(RTE) peer, editable by default like the JDK class.classEmulator forJFileChooser.classEmulator forJFormattedTextField.classEmulator forJInternalFrame.static classPort ofJInternalFrame.JDesktopIcon.classEmulator forJLabel.classMinimal port ofJLayeredPane.classJList<E>Emulator forJList, over anSJListpeer that renders the Grid<Integer> (SD_sjlist).classEmulator forJMenu.classEmulator forJMenuBar.classEmulator forJMenuItem.classEmulator forJOptionPane.classEmulator forJPanel.classEmulator forJPasswordField.classEmulator forJPopupMenu.classEmulator forJProgressBar, rendered bySJProgressBar.classEmulator forJRadioButton.classEmulator forJRadioButtonMenuItem.classEmulator forJRootPane— a thin shell overSJRootPane(SD_sjframe): the surrogate carries the Enter- shortcut install and its own"defaultButton"PCE; the emulator keeps its AWT-typed content / layered / glass pane holders and its own listener chain so migrated code registered at thevaadinx.swing.JRootPanelayer hears events on its own side (same two-layer convention as SJSlider / SJSpinner / SFrame).classEmulator forJScrollBar.classEmulator forJScrollPane.classEmulator forJSeparator.classEmulator forJSlider, rendered bySJSlider(SD_sjslider).classEmulator forJSpinner, rendered bySJSpinner, which carries the per-model inner-field dispatch (Integer / Long / Double / Date / List + unknown-model fallback) and the browser → model sync (SD_sjspinner).static classEmulator forJSpinner.DateEditor.static classEmulator forJSpinner.DefaultEditor.static classEmulator forJSpinner.ListEditor.static classEmulator forJSpinner.NumberEditor.classEmulator forJSplitPane.classEmulator forJTabbedPane.classEmulator forJTable, over anSJTablepeer; R_leaf_peer_lockdown-locked-down (JDK leaf — private peer ctor).classEmulator forJTextArea.classEmulator forJTextField.classEmulator forJTextPane— a thin subclass ofJEditorPaneover the sameSJEditorPane(RTE) peer, backed by aDefaultStyledDocumentwhose styled runs render through RTE's HTML value (D_jtextpane).classEmulator forJToggleButton, rendered bySJToggleButton(Button peer, SD_sjtogglebutton_button_peer).classEmulator forJToolBar.static classA toolbar-specific separator, rendered as the same thin bar asJSeparator; its size is stored and read back but not rendered (R_layouts_close_enough).classEmulator forJTree— a thin delegating shell over itsSJTreepeer; R_leaf_peer_lockdown-locked-down (JDK leaf — private peer ctor).classEmulator forJViewport.Fields in vaadinx.swing declared as JComponentModifier and TypeFieldDescriptionprotected JComponentDefaultCellEditor.editorComponentThe editing component; set by one of the three type-specific ctors.Methods in vaadinx.swing that return JComponentModifier and TypeMethodDescriptionprotected JComponentJSpinner.createEditor(SpinnerModel model) JFileChooser.getAccessory()JSpinner.getEditor()JColorChooser.getPreviewPanel()nulluntil one is set: the JDK's L&F installs aDefaultPreviewPanel, ajavax.swingcomponent this type cannot hold.Methods in vaadinx.swing that return types with arguments of type JComponentModifier and TypeMethodDescriptionJSlider.createStandardLabels(int increment) Logs the rendering deferral WARN and returns an empty table, since tick labels do not render (SD_sjslider).JSlider.createStandardLabels(int increment, int start) Two-argument form ofJSlider.createStandardLabels(int), with the same deferral.Methods in vaadinx.swing with parameters of type JComponentModifier and TypeMethodDescriptionstatic RectangleSwingUtilities.calculateInnerArea(JComponent c, Rectangle r) booleanTransferHandler.canImport(JComponent comp, DataFlavor[] transferFlavors) Deprecated.protected TransferableTransferHandler.createTransferable(JComponent c) Builds theTransferablerepresentingc's current data for export.voidTransferHandler.exportAsDrag(JComponent comp, InputEvent e, int action) Initiates a drag ofcomp's data.protected voidTransferHandler.exportDone(JComponent source, Transferable data, int action) Invoked after an export completes (successfully or not) with the action that was performed.voidTransferHandler.exportToClipboard(JComponent comp, Clipboard clip, int action) Exportscomp's data toclip.intLayoutStyle.getContainerGap(JComponent component, int position, Container parent) Preferred gap between a component and the container edge.static intJLayeredPane.getLayer(JComponent c) intLayoutStyle.getPreferredGap(JComponent component1, JComponent component2, LayoutStyle.ComponentPlacement type, int position, Container parent) Preferred gap between two components.intTransferHandler.getSourceActions(JComponent c) Bitwise-OR of the actions (TransferHandler.COPY,TransferHandler.MOVE,TransferHandler.LINK) supported when exporting fromc.static ActionMapSwingUtilities.getUIActionMap(JComponent c) static InputMapSwingUtilities.getUIInputMap(JComponent c, int condition) booleanTransferHandler.importData(JComponent comp, Transferable t) Deprecated.component+transferable form retained for API compatibility.static StringSwingUtilities.layoutCompoundLabel(JComponent c, FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, int verticalTextPosition, int horizontalTextPosition, Rectangle viewR, Rectangle iconR, Rectangle textR, int textIconGap) static voidSwingUtilities.replaceUIActionMap(JComponent c, ActionMap map) static voidSwingUtilities.replaceUIInputMap(JComponent c, int condition, InputMap map) voidJFileChooser.setAccessory(JComponent newAccessory) voidJSpinner.setEditor(JComponent editor) voidJColorChooser.setPreviewPanel(JComponent preview) Stores the panel and firespreviewPanel; the panel itself is never rendered (the native colour input has no preview slot).booleanInputVerifier.shouldYieldFocus(JComponent input) Called byJComponent's focus plumbing when focus would leaveinput.booleanInputVerifier.shouldYieldFocus(JComponent source, JComponent target) Two-arg overload that takes the focus target.abstract booleanInputVerifier.verify(JComponent input) Check whether the input ininputis valid. -
Uses of JComponent in vaadinx.swing.event
Methods in vaadinx.swing.event that return JComponentConstructors in vaadinx.swing.event with parameters of type JComponentModifierConstructorDescriptionAncestorEvent(JComponent source, int id, Container ancestor, Container ancestorParent) -
Uses of JComponent in vaadinx.swing.table
Subclasses of JComponent in vaadinx.swing.tableModifier and TypeClassDescriptionclassPort ofDefaultTableCellRenderer.classPort ofJTableHeader. -
Uses of JComponent in vaadinx.swing.text
Subclasses of JComponent in vaadinx.swing.text -
Uses of JComponent in vaadinx.swing.tree
Subclasses of JComponent in vaadinx.swing.tree
TransferHandler.TransferSupportform is canonical.