Uses of Class
java.beans.BeanProperty

  • Packages that use BeanProperty 
    PackageDescription
    java.awt
    Contains all of the classes for creating user interfaces and for painting graphics and images.
    javax.accessibility
    Defines a contract between user-interface components and an assistive technology that provides access to those components.
    javax.swing
    Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
    javax.swing.colorchooser
    Contains classes and interfaces used by the JColorChooser component.
    javax.swing.table
    Provides classes and interfaces for dealing with javax.swing.JTable.
    javax.swing.text
    Provides classes and interfaces that deal with editable and noneditable text components.
    javax.swing.tree
    Provides classes and interfaces for dealing with javax.swing.JTree.
    • Uses of BeanProperty in java.awt

      Methods in java.awt with annotations of type BeanProperty 
      Modifier and TypeMethodDescription
      AccessibleContextButton.getAccessibleContext()
      Gets the AccessibleContext associated with this Button.
    • Uses of BeanProperty in javax.accessibility

      Methods in javax.accessibility with annotations of type BeanProperty 
      Modifier and TypeMethodDescription
      voidAccessibleContext.setAccessibleDescription​(String s)
      Sets the accessible description of this object.
      voidAccessibleContext.setAccessibleName​(String s)
      Sets the localized accessible name of this object.
    • Uses of BeanProperty in javax.swing

      Methods in javax.swing with annotations of type BeanProperty 
      Modifier and TypeMethodDescription
      voidJFileChooser.addChoosableFileFilter​(FileFilter filter)
      Adds a filter to the list of user choosable file filters.
      FileFilterJFileChooser.getAcceptAllFileFilter()
      Returns the AcceptAll file filter.
      AccessibleContextBox.getAccessibleContext()
      Gets the AccessibleContext associated with this Box.
      AccessibleContextImageIcon.getAccessibleContext()
      Gets the AccessibleContext associated with this ImageIcon.
      AccessibleContextJButton.getAccessibleContext()
      Gets the AccessibleContext associated with this JButton.
      AccessibleContextJCheckBox.getAccessibleContext()
      Gets the AccessibleContext associated with this JCheckBox.
      AccessibleContextJCheckBoxMenuItem.getAccessibleContext()
      Gets the AccessibleContext associated with this JCheckBoxMenuItem.
      AccessibleContextJColorChooser.getAccessibleContext()
      Gets the AccessibleContext associated with this JColorChooser.
      AccessibleContextJComboBox.getAccessibleContext()
      Gets the AccessibleContext associated with this JComboBox.
      AccessibleContextJDesktopPane.getAccessibleContext()
      Gets the AccessibleContext associated with this JDesktopPane.
      AccessibleContextJEditorPane.getAccessibleContext()
      Gets the AccessibleContext associated with this JEditorPane.
      AccessibleContextJFileChooser.getAccessibleContext()
      Gets the AccessibleContext associated with this JFileChooser.
      AccessibleContextJInternalFrame.getAccessibleContext()
      Gets the AccessibleContext associated with this JInternalFrame.
      AccessibleContextJLabel.getAccessibleContext()
      Get the AccessibleContext of this object
      AccessibleContextJLayeredPane.getAccessibleContext()
      Gets the AccessibleContext associated with this JLayeredPane.
      AccessibleContextJList.getAccessibleContext()
      Gets the AccessibleContext associated with this JList.
      AccessibleContextJMenu.getAccessibleContext()
      Gets the AccessibleContext associated with this JMenu.
      AccessibleContextJMenuBar.getAccessibleContext()
      Gets the AccessibleContext associated with this JMenuBar.
      AccessibleContextJMenuItem.getAccessibleContext()
      Returns the AccessibleContext associated with this JMenuItem.
      AccessibleContextJOptionPane.getAccessibleContext()
      Returns the AccessibleContext associated with this JOptionPane.
      AccessibleContextJPanel.getAccessibleContext()
      Gets the AccessibleContext associated with this JPanel.
      AccessibleContextJPasswordField.getAccessibleContext()
      Returns the AccessibleContext associated with this JPasswordField.
      AccessibleContextJPopupMenu.getAccessibleContext()
      Gets the AccessibleContext associated with this JPopupMenu.
      AccessibleContextJProgressBar.getAccessibleContext()
      Gets the AccessibleContext associated with this JProgressBar.
      AccessibleContextJRadioButton.getAccessibleContext()
      Gets the AccessibleContext associated with this JRadioButton.
      AccessibleContextJRadioButtonMenuItem.getAccessibleContext()
      Gets the AccessibleContext associated with this JRadioButtonMenuItem.
      AccessibleContextJScrollBar.getAccessibleContext()
      Gets the AccessibleContext associated with this JScrollBar.
      AccessibleContextJScrollPane.getAccessibleContext()
      Gets the AccessibleContext associated with this JScrollPane.
      AccessibleContextJSeparator.getAccessibleContext()
      Gets the AccessibleContext associated with this JSeparator.
      AccessibleContextJSlider.getAccessibleContext()
      Gets the AccessibleContext associated with this JSlider.
      AccessibleContextJSpinner.getAccessibleContext()
      Gets the AccessibleContext for the JSpinner
      AccessibleContextJSplitPane.getAccessibleContext()
      Gets the AccessibleContext associated with this JSplitPane.
      AccessibleContextJTabbedPane.getAccessibleContext()
      Gets the AccessibleContext associated with this JTabbedPane.
      AccessibleContextJTable.getAccessibleContext()
      Gets the AccessibleContext associated with this JTable.
      AccessibleContextJTextArea.getAccessibleContext()
      Gets the AccessibleContext associated with this JTextArea.
      AccessibleContextJTextField.getAccessibleContext()
      Gets the AccessibleContext associated with this JTextField.
      AccessibleContextJToggleButton.getAccessibleContext()
      Gets the AccessibleContext associated with this JToggleButton.
      AccessibleContextJToolBar.getAccessibleContext()
      Gets the AccessibleContext associated with this JToolBar.
      AccessibleContextJTree.getAccessibleContext()
      Gets the AccessibleContext associated with this JTree.
      ActionListener[]AbstractButton.getActionListeners()
      Returns an array of all the ActionListeners added to this AbstractButton with addActionListener().
      ActionListener[]JComboBox.getActionListeners()
      Returns an array of all the ActionListeners added to this JComboBox with addActionListener().
      ActionListener[]JFileChooser.getActionListeners()
      Returns an array of all the action listeners registered on this file chooser.
      ActionListener[]JTextField.getActionListeners()
      Returns an array of all the ActionListeners added to this JTextField with addActionListener().
      Action[]JFormattedTextField.getActions()
      Fetches the command list for the editor.
      Action[]JTextField.getActions()
      Fetches the command list for the editor.
      AdjustmentListener[]JScrollBar.getAdjustmentListeners()
      Returns an array of all the AdjustmentListeners added to this JScrollBar with addAdjustmentListener().
      JInternalFrame[]JDesktopPane.getAllFrames()
      Returns all JInternalFrames currently displayed in the desktop.
      AncestorListener[]JComponent.getAncestorListeners()
      Returns an array of all the ancestor listeners registered on this component.
      intJList.getAnchorSelectionIndex()
      Returns the anchor selection index.
      Component.BaselineResizeBehaviorJComponent.getBaselineResizeBehavior()
      Returns an enum indicating how the baseline of the component changes as the size changes.
      ChangeListener[]AbstractButton.getChangeListeners()
      Returns an array of all the ChangeListeners added to this AbstractButton with addChangeListener().
      ChangeListener[]JProgressBar.getChangeListeners()
      Returns an array of all the ChangeListeners added to this progress bar with addChangeListener.
      ChangeListener[]JSlider.getChangeListeners()
      Returns an array of all the ChangeListeners added to this JSlider with addChangeListener().
      ChangeListener[]JSpinner.getChangeListeners()
      Returns an array of all the ChangeListeners added to this JSpinner with addChangeListener().
      ChangeListener[]JTabbedPane.getChangeListeners()
      Returns an array of all the ChangeListeners added to this JTabbedPane with addChangeListener.
      AttributeSetJTextPane.getCharacterAttributes()
      Fetches the character attributes in effect at the current location of the caret, or null.
      FileFilter[]JFileChooser.getChoosableFileFilters()
      Gets the list of user choosable file filters.
      intJTable.getColumnCount()
      Returns the number of columns in the column model.
      JDesktopPaneJInternalFrame.getDesktopPane()
      Convenience method that searches the ancestor hierarchy for a JDesktop instance.
      JList.DropLocationJList.getDropLocation()
      Returns the location that this component should visually indicate as the drop location during a DnD operation over the component, or null if no location is to currently be shown.
      JTable.DropLocationJTable.getDropLocation()
      Returns the location that this component should visually indicate as the drop location during a DnD operation over the component, or null if no location is to currently be shown.
      JTree.DropLocationJTree.getDropLocation()
      Returns the location that this component should visually indicate as the drop location during a DnD operation over the component, or null if no location is to currently be shown.
      TreePathJTree.getEditingPath()
      Returns the path to the element that is currently being edited.
      ComponentJTable.getEditorComponent()
      Returns the component that is handling the editing session.
      intJList.getFirstVisibleIndex()
      Returns the smallest list index that is currently visible.
      ContainerJInternalFrame.getFocusCycleRootAncestor()
      Always returns null because JInternalFrames must always be roots of a focus traversal cycle.
      JFormattedTextField.AbstractFormatterJFormattedTextField.getFormatter()
      Returns the AbstractFormatter that is used to format and parse the current value.
      GraphicsJApplet.getGraphics()
      Deprecated.
      Creates a graphics context for this component.
      GraphicsJComponent.getGraphics()
      Returns this component's graphics context, which lets you draw on a component.
      GraphicsJDialog.getGraphics()
      Creates a graphics context for this component.
      GraphicsJFrame.getGraphics()
      Creates a graphics context for this component.
      GraphicsJWindow.getGraphics()
      Creates a graphics context for this component.
      intJComponent.getHeight()
      Returns the current height of this component.
      BoundedRangeModelJTextField.getHorizontalVisibility()
      Gets the visibility of the text field.
      HyperlinkListener[]JEditorPane.getHyperlinkListeners()
      Returns an array of all the HyperLinkListeners added to this JEditorPane with addHyperlinkListener().
      MutableAttributeSetJTextPane.getInputAttributes()
      Gets the input attributes for the pane.
      InsetsJComponent.getInsets()
      If a border has been set on this component, returns the border's insets; otherwise calls super.getInsets.
      InsetsJViewport.getInsets​(Insets insets)
      Returns an Insets object containing this JViewports inset values.
      InternalFrameListener[]JInternalFrame.getInternalFrameListeners()
      Returns an array of all the InternalFrameListeners added to this JInternalFrame with addInternalFrameListener.
      intJComboBox.getItemCount()
      Returns the number of items in the list.
      intJMenu.getItemCount()
      Returns the number of items on the menu, including separators.
      ItemListener[]AbstractButton.getItemListeners()
      Returns an array of all the ItemListeners added to this AbstractButton with addItemListener().
      ItemListener[]JComboBox.getItemListeners()
      Returns an array of all the ItemListeners added to this JComboBox with addItemListener().
      CursorJInternalFrame.getLastCursor()
      Returns the last Cursor that was set by the setCursor method that is not a resizable Cursor.
      ObjectJTree.getLastSelectedPathComponent()
      Returns the last path component of the selected path.
      intJList.getLastVisibleIndex()
      Returns the largest list index that is currently visible.
      intJList.getLeadSelectionIndex()
      Returns the lead selection index.
      intJTree.getLeadSelectionRow()
      Returns the row index corresponding to the lead path.
      ComponentJSplitPane.getLeftComponent()
      Returns the component to the left (or above) the divider.
      intJTextArea.getLineCount()
      Determines the number of lines contained in the area.
      ListSelectionListener[]JList.getListSelectionListeners()
      Returns an array of all the ListSelectionListeners added to this JList by way of addListSelectionListener.
      InsetsJPopupMenu.getMargin()
      Returns the margin, in pixels, between the popup menu's border and its containers.
      intJOptionPane.getMaxCharactersPerLineCount()
      Returns the maximum number of characters to place on a line in a message.
      intJSplitPane.getMaximumDividerLocation()
      Returns the maximum location of the divider from the look and feel implementation.
      intJList.getMaxSelectionIndex()
      Returns the largest selected cell index, or -1 if the selection is empty.
      intJTree.getMaxSelectionRow()
      Returns the largest selected row.
      intJMenu.getMenuComponentCount()
      Returns the number of components on the menu.
      Component[]JMenu.getMenuComponents()
      Returns an array of Components of the menu's subcomponents.
      intJMenuBar.getMenuCount()
      Returns the number of items in the menu bar.
      MenuDragMouseListener[]JMenuItem.getMenuDragMouseListeners()
      Returns an array of all the MenuDragMouseListeners added to this JMenuItem with addMenuDragMouseListener().
      MenuKeyListener[]JMenuItem.getMenuKeyListeners()
      Returns an array of all the MenuKeyListeners added to this JMenuItem with addMenuKeyListener().
      MenuKeyListener[]JPopupMenu.getMenuKeyListeners()
      Returns an array of all the MenuKeyListeners added to this JPopupMenu with addMenuKeyListener().
      MenuListener[]JMenu.getMenuListeners()
      Returns an array of all the MenuListeners added to this JMenu with addMenuListener().
      intJSplitPane.getMinimumDividerLocation()
      Returns the minimum location of the divider from the look and feel implementation.
      intJList.getMinSelectionIndex()
      Returns the smallest selected cell index, or -1 if the selection is empty.
      intJTree.getMinSelectionRow()
      Returns the smallest selected row.
      ComponentJInternalFrame.getMostRecentFocusOwner()
      Returns the child component of this JInternalFrame that will receive the focus when this JInternalFrame is selected.
      ObjectJSpinner.getNextValue()
      Returns the object in the sequence that comes after the object returned by getValue().
      AttributeSetJTextPane.getParagraphAttributes()
      Fetches the current paragraph attributes in effect at the location of the caret, or null if none.
      char[]JPasswordField.getPassword()
      Returns the text contained in this TextComponent.
      TreePathJTree.getPathForRow​(int row)
      Returns the path for the specified row.
      doubleJProgressBar.getPercentComplete()
      Returns the percent complete for the progress bar.
      JPopupMenuJMenu.getPopupMenu()
      Returns the popupmenu associated with this menu.
      PopupMenuListener[]JComboBox.getPopupMenuListeners()
      Returns an array of all the PopupMenuListeners added to this JComboBox with addPopupMenuListener().
      PopupMenuListener[]JPopupMenu.getPopupMenuListeners()
      Returns an array of all the PopupMenuListeners added to this JMenuItem with addPopupMenuListener().
      DimensionJList.getPreferredScrollableViewportSize()
      Computes the size of viewport needed to display visibleRowCount rows.
      DimensionJTextArea.getPreferredScrollableViewportSize()
      Returns the preferred size of the viewport if this component is embedded in a JScrollPane.
      DimensionJTree.getPreferredScrollableViewportSize()
      Returns the preferred display size of a JTree.
      ObjectJSpinner.getPreviousValue()
      Returns the object in the sequence that comes before the object returned by getValue().
      KeyStroke[]JComponent.getRegisteredKeyStrokes()
      Returns the KeyStrokes that will initiate registered actions.
      JRootPaneJApplet.getRootPane()
      Deprecated.
      Returns the rootPane object for this applet.
      JRootPaneJComponent.getRootPane()
      Returns the JRootPane ancestor for this component.
      JRootPaneJDialog.getRootPane()
      Returns the rootPane object for this dialog.
      JRootPaneJFrame.getRootPane()
      Returns the rootPane object for this frame.
      JRootPaneJInternalFrame.getRootPane()
      Returns the rootPane object for this internal frame.
      JRootPaneJWindow.getRootPane()
      Returns the rootPane object for this window.
      intJTable.getRowCount()
      Returns the number of rows that can be shown in the JTable, given unlimited space.
      intJTree.getRowCount()
      Returns the number of viewable nodes.
      booleanJEditorPane.getScrollableTracksViewportHeight()
      Returns true if a viewport should always force the height of this Scrollable to match the height of the viewport.
      booleanJList.getScrollableTracksViewportHeight()
      Returns true if this JList is displayed in a JViewport and the viewport is taller than the list's preferred height, or if the layout orientation is VERTICAL_WRAP and visibleRowCount <= 0; otherwise returns false.
      booleanJTable.getScrollableTracksViewportHeight()
      Returns false to indicate that the height of the viewport does not determine the height of the table, unless getFillsViewportHeight is true and the preferred height of the table is smaller than the viewport's height.
      booleanJTree.getScrollableTracksViewportHeight()
      Returns false to indicate that the height of the viewport does not determine the height of the table, unless the preferred height of the tree is smaller than the viewports height.
      booleanJEditorPane.getScrollableTracksViewportWidth()
      Returns true if a viewport should always force the width of this Scrollable to match the width of the viewport.
      booleanJList.getScrollableTracksViewportWidth()
      Returns true if this JList is displayed in a JViewport and the viewport is wider than the list's preferred width, or if the layout orientation is HORIZONTAL_WRAP and visibleRowCount <= 0; otherwise returns false.
      booleanJTable.getScrollableTracksViewportWidth()
      Returns false if autoResizeMode is set to AUTO_RESIZE_OFF, which indicates that the width of the viewport does not determine the width of the table.
      booleanJTextArea.getScrollableTracksViewportWidth()
      Returns true if a viewport should always force the width of this Scrollable to match the width of the viewport.
      booleanJTree.getScrollableTracksViewportWidth()
      Returns false to indicate that the width of the viewport does not determine the width of the table, unless the preferred width of the tree is smaller than the viewports width.
      intJTable.getSelectedColumn()
      Returns the index of the first selected column, -1 if no column is selected.
      intJTable.getSelectedColumnCount()
      Returns the number of selected columns.
      int[]JTable.getSelectedColumns()
      Returns the indices of all selected columns.
      Object[]AbstractButton.getSelectedObjects()
      Returns an array (length 1) containing the label or null if the button is not selected.
      Object[]JCheckBoxMenuItem.getSelectedObjects()
      Returns an array (length 1) containing the check box menu item label or null if the check box is not selected.
      Object[]JComboBox.getSelectedObjects()
      Returns an array containing the selected item.
      intJTable.getSelectedRow()
      Returns the index of the first selected row, -1 if no row is selected.
      intJTable.getSelectedRowCount()
      Returns the number of selected rows.
      int[]JTable.getSelectedRows()
      Returns the indices of all selected rows.
      EJList.getSelectedValue()
      Returns the value for the smallest selected cell index; the selected value when only a single item is selected in the list.
      Object[]JList.getSelectedValues()
      Deprecated.
      As of JDK 1.7, replaced by JList.getSelectedValuesList()
      List<E>JList.getSelectedValuesList()
      Returns a list of all the selected items, in increasing order based on their indices in the list.
      intJTree.getSelectionCount()
      Returns the number of nodes selected.
      MenuElement[]JMenu.getSubElements()
      Returns an array of MenuElements containing the submenu for this menu component.
      MenuElement[]JMenuBar.getSubElements()
      Implemented to be a MenuElement -- returns the menus in this menu bar.
      MenuElement[]JMenuItem.getSubElements()
      This method returns an array containing the sub-menu components for this menu component.
      MenuElement[]JPopupMenu.getSubElements()
      Returns an array of MenuElements containing the submenu for this menu component.
      intJTabbedPane.getTabCount()
      Returns the number of tabs in this tabbedpane.
      intJTabbedPane.getTabRunCount()
      Returns the number of tab runs currently used to display the tabs.
      ContainerJComponent.getTopLevelAncestor()
      Returns the top-level ancestor of this component (either the containing Window or Applet), or null if this component has not been added to any container.
      TreeExpansionListener[]JTree.getTreeExpansionListeners()
      Returns an array of all the TreeExpansionListeners added to this JTree with addTreeExpansionListener().
      TreeSelectionListener[]JTree.getTreeSelectionListeners()
      Returns an array of all the TreeSelectionListeners added to this JTree with addTreeSelectionListener().
      TreeWillExpandListener[]JTree.getTreeWillExpandListeners()
      Returns an array of all the TreeWillExpandListeners added to this JTree with addTreeWillExpandListener().
      FileChooserUIJFileChooser.getUI()
      Gets the UI object which implements the L&F for this component.
      ScrollPaneUIJScrollPane.getUI()
      Returns the look and feel (L&F) object that renders this component.
      SplitPaneUIJSplitPane.getUI()
      Returns the SplitPaneUI that is providing the current look and feel.
      StringJButton.getUIClassID()
      Returns a string that specifies the name of the L&F class that renders this component.
      StringJCheckBox.getUIClassID()
      Returns a string that specifies the name of the L&F class that renders this component.
      StringJCheckBoxMenuItem.getUIClassID()
      Returns the name of the L&F class that renders this component.
      StringJColorChooser.getUIClassID()
      Returns the name of the L&F class that renders this component.
      StringJComboBox.getUIClassID()
      Returns the name of the L&F class that renders this component.
      StringJComponent.getUIClassID()
      Returns the UIDefaults key used to look up the name of the swing.plaf.ComponentUI class that defines the look and feel for this component.
      StringJDesktopPane.getUIClassID()
      Returns the name of the L&F class that renders this component.
      StringJEditorPane.getUIClassID()
      Gets the class ID for the UI.
      StringJFileChooser.getUIClassID()
      Returns a string that specifies the name of the L&F class that renders this component.
      StringJFormattedTextField.getUIClassID()
      Gets the class ID for a UI.
      StringJInternalFrame.getUIClassID()
      Returns the name of the look-and-feel class that renders this component.
      StringJLabel.getUIClassID()
      Returns a string that specifies the name of the l&f class that renders this component.
      StringJList.getUIClassID()
      Returns "ListUI", the UIDefaults key used to look up the name of the javax.swing.plaf.ListUI class that defines the look and feel for this component.
      StringJMenu.getUIClassID()
      Returns the name of the L&F class that renders this component.
      StringJMenuBar.getUIClassID()
      Returns the name of the L&F class that renders this component.
      StringJMenuItem.getUIClassID()
      Returns the suffix used to construct the name of the L&F class used to render this component.
      StringJOptionPane.getUIClassID()
      Returns the name of the UI class that implements the L&F for this component.
      StringJPanel.getUIClassID()
      Returns a string that specifies the name of the L&F class that renders this component.
      StringJPasswordField.getUIClassID()
      Returns the name of the L&F class that renders this component.
      StringJPopupMenu.getUIClassID()
      Returns the name of the L&F class that renders this component.
      StringJProgressBar.getUIClassID()
      Returns the name of the look-and-feel class that renders this component.
      StringJRadioButton.getUIClassID()
      Returns the name of the L&F class that renders this component.
      StringJRadioButtonMenuItem.getUIClassID()
      Returns the name of the L&F class that renders this component.
      StringJScrollBar.getUIClassID()
      Returns the name of the LookAndFeel class for this component.
      StringJScrollPane.getUIClassID()
      Returns the suffix used to construct the name of the L&F class used to render this component.
      StringJSeparator.getUIClassID()
      Returns the name of the L&F class that renders this component.
      StringJSlider.getUIClassID()
      Returns the name of the L&F class that renders this component.
      StringJSpinner.getUIClassID()
      Returns the suffix used to construct the name of the look and feel (L&F) class used to render this component.
      StringJSplitPane.getUIClassID()
      Returns the name of the L&F class that renders this component.
      StringJTabbedPane.getUIClassID()
      Returns the name of the UI class that implements the L&F for this component.
      StringJTable.getUIClassID()
      Returns the suffix used to construct the name of the L&F class used to render this component.
      StringJTextArea.getUIClassID()
      Returns the class ID for the UI.
      StringJTextField.getUIClassID()
      Gets the class ID for a UI.
      StringJTextPane.getUIClassID()
      Returns the class ID for the UI.
      StringJToggleButton.getUIClassID()
      Returns a string that specifies the name of the l&f class that renders this component.
      StringJToolBar.getUIClassID()
      Returns the name of the L&F class that renders this component.
      StringJTree.getUIClassID()
      Returns the name of the L&F class that renders this component.
      VetoableChangeListener[]JComponent.getVetoableChangeListeners()
      Returns an array of all the vetoable change listeners registered on this component.
      RectangleJScrollPane.getViewportBorderBounds()
      Returns the bounds of the viewport's border.
      RectangleJComponent.getVisibleRect()
      Returns the Component's "visible rectangle" - the intersection of this component's visible rectangle, new Rectangle(0, 0, getWidth(), getHeight()), and all of its ancestors' visible rectangles.
      StringJInternalFrame.getWarningString()
      Gets the warning string that is displayed with this internal frame.
      intJComponent.getWidth()
      Returns the current width of this component.
      intJComponent.getX()
      Returns the current x coordinate of the component's origin.
      intJComponent.getY()
      Returns the current y coordinate of the component's origin.
      booleanJButton.isDefaultButton()
      Gets the value of the defaultButton property, which if true means that this button is the current default button for its JRootPane.
      booleanJFileChooser.isDirectorySelectionEnabled()
      Convenience call that determines if directories are selectable based on the current file selection mode.
      booleanJTable.isEditing()
      Returns true if a cell is being edited.
      booleanJTree.isEditing()
      Returns true if the tree is being edited.
      booleanJFormattedTextField.isEditValid()
      Returns true if the current value being edited is valid.
      booleanJFileChooser.isFileSelectionEnabled()
      Convenience call that determines if files are selectable based on the current file selection mode.
      booleanJTree.isFixedRowHeight()
      Returns true if the height of each display row is a fixed size.
      booleanJProgressBar.isIndeterminate()
      Returns the value of the indeterminate property.
      booleanJComponent.isManagingFocus()
      Deprecated.
      As of 1.4, replaced by Component.setFocusTraversalKeys(int, Set) and Container.setFocusCycleRoot(boolean).
      booleanJComponent.isOptimizedDrawingEnabled()
      Returns true if this component tiles its children -- that is, if it can guarantee that the children will not overlap.
      booleanJLayeredPane.isOptimizedDrawingEnabled()
      Returns false if components in the pane can overlap, which makes optimized drawing impossible.
      booleanJComponent.isPaintingForPrint()
      Returns true if the current painting operation on this component is part of a print operation.
      booleanJComponent.isPaintingTile()
      Returns true if the component is currently painting a tile.
      booleanJMenuBar.isSelected()
      Returns true if the menu bar currently has a component selected.
      booleanJList.isSelectionEmpty()
      Returns true if nothing is selected, else false.
      booleanJTree.isSelectionEmpty()
      Returns true if the selection is currently empty.
      booleanJMenu.isTearOff()
      Returns true if the menu can be torn off.
      booleanJMenu.isTopLevelMenu()
      Returns true if the menu is a 'top-level menu', that is, if it is the direct child of a menubar.
      booleanJScrollPane.isValidateRoot()
      Overridden to return true so that any calls to revalidate on any descendants of this JScrollPane will cause the entire tree beginning with this JScrollPane to be validated.
      booleanJSplitPane.isValidateRoot()
      Returns true, so that calls to revalidate on any descendant of this JSplitPane will cause a request to be queued that will validate the JSplitPane and all its descendants.
      booleanJScrollPane.isWheelScrollingEnabled()
      Indicates whether or not scrolling will take place in response to the mouse wheel.
      voidJMenuItem.setAccelerator​(KeyStroke keyStroke)
      Sets the key combination which invokes the menu item's action listeners without navigating the menu hierarchy.
      voidJFileChooser.setAcceptAllFileFilterUsed​(boolean b)
      Determines whether the AcceptAll FileFilter is used as an available choice in the choosable filter list.
      voidJFileChooser.setAccessory​(JComponent newAccessory)
      Sets the accessory component.
      voidAbstractButton.setAction​(Action a)
      Sets the Action.
      voidJComboBox.setAction​(Action a)
      Sets the Action for the ActionEvent source.
      voidJTextField.setAction​(Action a)
      Sets the Action for the ActionEvent source.
      voidJComponent.setAlignmentX​(float alignmentX)
      Sets the horizontal alignment.
      voidJComponent.setAlignmentY​(float alignmentY)
      Sets the vertical alignment.
      voidJTree.setAnchorSelectionPath​(TreePath newPath)
      Sets the path identified as the anchor.
      voidJFileChooser.setApproveButtonMnemonic​(int mnemonic)
      Sets the approve button's mnemonic using a numeric keycode.
      voidJFileChooser.setApproveButtonText​(String approveButtonText)
      Sets the text used in the ApproveButton in the FileChooserUI.
      voidJFileChooser.setApproveButtonToolTipText​(String toolTipText)
      Sets the tooltip text used in the ApproveButton.
      voidJMenuItem.setArmed​(boolean b)
      Identifies the menu item as "armed".
      voidJTable.setAutoCreateColumnsFromModel​(boolean autoCreateColumnsFromModel)
      Sets this table's autoCreateColumnsFromModel flag.
      voidJTable.setAutoCreateRowSorter​(boolean autoCreateRowSorter)
      Specifies whether a RowSorter should be created for the table whenever its model changes.
      voidJTable.setAutoResizeMode​(int mode)
      Sets the table's auto resize mode when the table is resized.
      voidJComponent.setAutoscrolls​(boolean autoscrolls)
      Sets the autoscrolls property.
      voidJComponent.setBackground​(Color bg)
      Sets the background color of this component.
      voidJTabbedPane.setBackgroundAt​(int index, Color background)
      Sets the background color at index to background which can be null, in which case the tab's background color will default to the background color of the tabbedpane.
      voidJScrollBar.setBlockIncrement​(int blockIncrement)
      Sets the blockIncrement property.
      voidJComponent.setBorder​(Border border)
      Sets the border of this component.
      voidAbstractButton.setBorderPainted​(boolean b)
      Sets the borderPainted property.
      voidJMenuBar.setBorderPainted​(boolean b)
      Sets whether the border should be painted.
      voidJPopupMenu.setBorderPainted​(boolean b)
      Sets whether the border should be painted.
      voidJProgressBar.setBorderPainted​(boolean b)
      Sets the borderPainted property, which is true if the progress bar should paint its border.
      voidJToolBar.setBorderPainted​(boolean b)
      Sets the borderPainted property, which is true if the border should be painted.
      voidJCheckBox.setBorderPaintedFlat​(boolean b)
      Sets the borderPaintedFlat property, which gives a hint to the look and feel as to the appearance of the check box border.
      voidJSplitPane.setBottomComponent​(Component comp)
      Sets the component below, or to the right of the divider.
      voidJTable.setCellEditor​(TableCellEditor anEditor)
      Sets the active cell editor.
      voidJTree.setCellEditor​(TreeCellEditor cellEditor)
      Sets the cell editor.
      voidJList.setCellRenderer​(ListCellRenderer<? super E> cellRenderer)
      Sets the delegate that is used to paint each cell in the list.
      voidJTree.setCellRenderer​(TreeCellRenderer x)
      Sets the TreeCellRenderer that will be used to draw each cell.
      voidJTable.setCellSelectionEnabled​(boolean cellSelectionEnabled)
      Sets whether this table allows both a column selection and a row selection to exist simultaneously.
      voidJColorChooser.setChooserPanels​(AbstractColorChooserPanel[] panels)
      Specifies the Color Panels used to choose a color value.
      voidJInternalFrame.setClosable​(boolean b)
      Sets whether this JInternalFrame can be closed by some user action.
      voidJInternalFrame.setClosed​(boolean b)
      Closes this internal frame if the argument is true.
      voidJColorChooser.setColor​(Color color)
      Sets the current color of the color chooser to the specified color.
      voidJScrollPane.setColumnHeader​(JViewport columnHeader)
      Removes the old columnHeader, if it exists; if the new columnHeader isn't null, syncs the x coordinate of its viewPosition with the viewport (if there is one) and then adds it to the scroll pane.
      voidJTable.setColumnModel​(TableColumnModel columnModel)
      Sets the column model for this table to columnModel and registers for listener notifications from the new column model.
      voidJTextArea.setColumns​(int columns)
      Sets the number of columns for this TextArea.
      voidJTextField.setColumns​(int columns)
      Sets the number of columns in this TextField, and then invalidate the layout.
      voidJTable.setColumnSelectionAllowed​(boolean columnSelectionAllowed)
      Sets whether the columns in this model can be selected.
      voidJToolTip.setComponent​(JComponent c)
      Specifies the component that the tooltip describes.
      voidJTabbedPane.setComponentAt​(int index, Component component)
      Sets the component at index to component.
      voidJComponent.setComponentPopupMenu​(JPopupMenu popup)
      Sets the JPopupMenu for this JComponent.
      voidAbstractButton.setContentAreaFilled​(boolean b)
      Sets the contentAreaFilled property.
      voidJApplet.setContentPane​(Container contentPane)
      Deprecated.
      Sets the contentPane property.
      voidJDialog.setContentPane​(Container contentPane)
      Sets the contentPane property.
      voidJFrame.setContentPane​(Container contentPane)
      Sets the contentPane property.
      voidJInternalFrame.setContentPane​(Container c)
      Sets this JInternalFrame's contentPane property.
      voidJWindow.setContentPane​(Container contentPane)
      Sets the contentPane property for this window.
      voidJEditorPane.setContentType​(String type)
      Sets the type of content that this editor handles.
      voidJSplitPane.setContinuousLayout​(boolean newContinuousLayout)
      Sets the value of the continuousLayout property, which must be true for the child components to be continuously redisplayed and laid out during user intervention.
      voidJFileChooser.setControlButtonsAreShown​(boolean b)
      Sets the property that indicates whether the approve and cancel buttons are shown in the file chooser.
      voidJFileChooser.setCurrentDirectory​(File dir)
      Sets the current directory.
      voidJComponent.setDebugGraphicsOptions​(int debugOptions)
      Enables or disables diagnostic information about every graphics operation performed within the component or one of its children.
      voidJRootPane.setDefaultButton​(JButton defaultButton)
      Sets the defaultButton property, which determines the current default button for this JRootPane.
      voidJButton.setDefaultCapable​(boolean defaultCapable)
      Sets the defaultCapable property, which determines whether this button can be made the default button for its root pane.
      voidJDialog.setDefaultCloseOperation​(int operation)
      Sets the operation that will happen by default when the user initiates a "close" on this dialog.
      voidJFrame.setDefaultCloseOperation​(int operation)
      Sets the operation that will happen by default when the user initiates a "close" on this frame.
      voidJMenu.setDelay​(int d)
      Sets the suggested delay before the menu's PopupMenu is popped up or down.
      voidJInternalFrame.setDesktopIcon​(JInternalFrame.JDesktopIcon d)
      Sets the JDesktopIcon associated with this JInternalFrame.
      voidJDesktopPane.setDesktopManager​(DesktopManager d)
      Sets the DesktopManger that will handle desktop-specific UI actions.
      voidJFileChooser.setDialogTitle​(String dialogTitle)
      Sets the string that goes in the JFileChooser window's title bar.
      voidJFileChooser.setDialogType​(int dialogType)
      Sets the type of this dialog.
      voidAbstractButton.setDisabledIcon​(Icon disabledIcon)
      Sets the disabled icon for the button.
      voidJLabel.setDisabledIcon​(Icon disabledIcon)
      Set the icon to be displayed if this JLabel is "disabled" (JLabel.setEnabled(false)).
      voidJTabbedPane.setDisabledIconAt​(int index, Icon disabledIcon)
      Sets the disabled icon at index to icon which can be null.
      voidAbstractButton.setDisabledSelectedIcon​(Icon disabledSelectedIcon)
      Sets the disabled selection icon for the button.
      voidJLabel.setDisplayedMnemonic​(int key)
      Specify a keycode that indicates a mnemonic key.
      voidAbstractButton.setDisplayedMnemonicIndex​(int index)
      Provides a hint to the look and feel as to which character in the text should be decorated to represent the mnemonic.
      voidJLabel.setDisplayedMnemonicIndex​(int index)
      Provides a hint to the look and feel as to which character in the text should be decorated to represent the mnemonic.
      voidJTabbedPane.setDisplayedMnemonicIndexAt​(int tabIndex, int mnemonicIndex)
      Provides a hint to the look and feel as to which character in the text should be decorated to represent the mnemonic.
      voidJSplitPane.setDividerLocation​(double proportionalLocation)
      Sets the divider location as a percentage of the JSplitPane's size.
      voidJSplitPane.setDividerLocation​(int location)
      Sets the location of the divider.
      voidJSplitPane.setDividerSize​(int newSize)
      Sets the size of the divider.
      voidJFormattedTextField.setDocument​(Document doc)
      Associates the editor with a text document.
      voidJTextField.setDocument​(Document doc)
      Associates the editor with a text document.
      voidJColorChooser.setDragEnabled​(boolean b)
      Sets the dragEnabled property, which must be true to enable automatic drag handling (the first part of drag and drop) on this component.
      voidJFileChooser.setDragEnabled​(boolean b)
      Sets the dragEnabled property, which must be true to enable automatic drag handling (the first part of drag and drop) on this component.
      voidJList.setDragEnabled​(boolean b)
      Turns on or off automatic drag handling.
      voidJTable.setDragEnabled​(boolean b)
      Turns on or off automatic drag handling.
      voidJTree.setDragEnabled​(boolean b)
      Turns on or off automatic drag handling.
      voidJDesktopPane.setDragMode​(int dragMode)
      Sets the "dragging style" used by the desktop pane.
      voidJPasswordField.setEchoChar​(char c)
      Sets the echo character for this JPasswordField.
      voidJComboBox.setEditable​(boolean aFlag)
      Determines whether the JComboBox field is editable.
      voidJTree.setEditable​(boolean flag)
      Determines whether the tree is editable.
      voidJComboBox.setEditor​(ComboBoxEditor anEditor)
      Sets the editor used to paint and edit the selected item in the JComboBox field.
      voidJSpinner.setEditor​(JComponent editor)
      Changes the JComponent that displays the current value of the SpinnerModel.
      voidJEditorPane.setEditorKit​(EditorKit kit)
      Sets the currently installed kit for handling content.
      voidJComboBox.setEnabled​(boolean b)
      Enables the combo box so that items can be selected.
      voidJComponent.setEnabled​(boolean enabled)
      Sets whether or not this component is enabled.
      voidJMenuItem.setEnabled​(boolean b)
      Enables or disables the menu item.
      voidJTree.setExpandsSelectedPaths​(boolean newValue)
      Configures the expandsSelectedPaths property.
      voidJSlider.setExtent​(int extent)
      Sets the size of the range "covered" by the knob.
      voidJFileChooser.setFileFilter​(FileFilter filter)
      Sets the current file filter.
      voidJFileChooser.setFileHidingEnabled​(boolean b)
      Sets file hiding on or off.
      voidJFileChooser.setFileSelectionMode​(int mode)
      Sets the JFileChooser to allow the user to just select files, just select directories, or select both files and directories.
      voidJFileChooser.setFileSystemView​(FileSystemView fsv)
      Sets the file system view that the JFileChooser uses for accessing and creating file system resources, such as finding the floppy drive and getting a list of root drives.
      voidJFileChooser.setFileView​(FileView fileView)
      Sets the file view to be used to retrieve UI information, such as the icon that represents a file or the type description of a file.
      voidJTable.setFillsViewportHeight​(boolean fillsViewportHeight)
      Sets whether or not this table is always made large enough to fill the height of an enclosing viewport.
      voidJList.setFixedCellHeight​(int height)
      Sets a fixed value to be used for the height of every cell in the list.
      voidJList.setFixedCellWidth​(int width)
      Sets a fixed value to be used for the width of every cell in the list.
      voidJToolBar.setFloatable​(boolean b)
      Sets the floatable property, which must be true for the user to move the tool bar.
      voidJFormattedTextField.setFocusLostBehavior​(int behavior)
      Sets the behavior when focus is lost.
      voidAbstractButton.setFocusPainted​(boolean b)
      Sets the paintFocus property, which must be true for the focus state to be painted.
      voidJComponent.setFont​(Font font)
      Sets the font for this component.
      voidJComponent.setForeground​(Color fg)
      Sets the foreground color of this component.
      voidJTabbedPane.setForegroundAt​(int index, Color foreground)
      Sets the foreground color at index to foreground which can be null, in which case the tab's foreground color will default to the foreground color of this tabbedpane.
      voidJFormattedTextField.setFormatterFactory​(JFormattedTextField.AbstractFormatterFactory tf)
      Sets the AbstractFormatterFactory.
      voidJInternalFrame.setFrameIcon​(Icon icon)
      Sets an image to be displayed in the titlebar of this internal frame (usually in the top-left corner).
      voidJApplet.setGlassPane​(Component glassPane)
      Deprecated.
      Sets the glassPane property.
      voidJDialog.setGlassPane​(Component glassPane)
      Sets the glassPane property.
      voidJFrame.setGlassPane​(Component glassPane)
      Sets the glassPane property.
      voidJInternalFrame.setGlassPane​(Component glass)
      Sets this JInternalFrame's glassPane property.
      voidJWindow.setGlassPane​(Component glassPane)
      Sets the glassPane property.
      voidJTable.setGridColor​(Color gridColor)
      Sets the color used to draw grid lines to gridColor and redisplays.
      voidAbstractButton.setHideActionText​(boolean hideActionText)
      Sets the hideActionText property, which determines whether the button displays text from the Action.
      voidAbstractButton.setHorizontalAlignment​(int alignment)
      Sets the horizontal alignment of the icon and text.
      voidJLabel.setHorizontalAlignment​(int alignment)
      Sets the alignment of the label's contents along the X axis.
      voidJTextField.setHorizontalAlignment​(int alignment)
      Sets the horizontal alignment of the text.
      voidJScrollPane.setHorizontalScrollBar​(JScrollBar horizontalScrollBar)
      Adds the scrollbar that controls the viewport's horizontal view position to the scrollpane.
      voidJScrollPane.setHorizontalScrollBarPolicy​(int policy)
      Determines when the horizontal scrollbar appears in the scrollpane.
      voidAbstractButton.setHorizontalTextPosition​(int textPosition)
      Sets the horizontal position of the text relative to the icon.
      voidJLabel.setHorizontalTextPosition​(int textPosition)
      Sets the horizontal position of the label's text, relative to its image.
      voidAbstractButton.setIcon​(Icon defaultIcon)
      Sets the button's default icon.
      voidJInternalFrame.setIcon​(boolean b)
      Iconifies or de-iconifies this internal frame, if the look and feel supports iconification.
      voidJLabel.setIcon​(Icon icon)
      Defines the icon this component will display.
      voidJOptionPane.setIcon​(Icon newIcon)
      Sets the icon to display.
      voidJTabbedPane.setIconAt​(int index, Icon icon)
      Sets the icon at index to icon which can be null.
      voidJInternalFrame.setIconifiable​(boolean b)
      Sets the iconable property, which must be true for the user to be able to make the JInternalFrame an icon.
      voidAbstractButton.setIconTextGap​(int iconTextGap)
      If both the icon and text properties are set, this property defines the space between them.
      voidJLabel.setIconTextGap​(int iconTextGap)
      If both the icon and text properties are set, this property defines the space between them.
      voidJComponent.setInheritsPopupMenu​(boolean value)
      Sets whether or not getComponentPopupMenu should delegate to the parent if this component does not have a JPopupMenu assigned to it.
      voidJOptionPane.setInitialSelectionValue​(Object newValue)
      Sets the input value that is initially displayed as selected to the user.
      voidJOptionPane.setInitialValue​(Object newInitialValue)
      Sets the initial value that is to be enabled -- the Component that has the focus when the pane is initially displayed.
      voidJOptionPane.setInputValue​(Object newValue)
      Sets the input value that was selected or input by the user.
      voidJComponent.setInputVerifier​(InputVerifier inputVerifier)
      Sets the input verifier for this component.
      voidJTable.setIntercellSpacing​(Dimension intercellSpacing)
      Sets the rowMargin and the columnMargin -- the height and width of the space between cells -- to intercellSpacing.
      voidJSlider.setInverted​(boolean b)
      Specify true to reverse the value-range shown for the slider and false to put the value range in the normal order.
      voidJPopupMenu.setInvoker​(Component invoker)
      Sets the invoker of this popup menu -- the component in which the popup menu menu is to be displayed.
      voidJTree.setInvokesStopCellEditing​(boolean newValue)
      Determines what happens when editing is interrupted by selecting another node in the tree, a change in the tree's data, or by some other means.
      voidJApplet.setJMenuBar​(JMenuBar menuBar)
      Deprecated.
      Sets the menubar for this applet.
      voidJDialog.setJMenuBar​(JMenuBar menu)
      Sets the menubar for this dialog.
      voidJFrame.setJMenuBar​(JMenuBar menubar)
      Sets the menubar for this frame.
      voidJInternalFrame.setJMenuBar​(JMenuBar m)
      Sets the menuBar property for this JInternalFrame.
      voidJComboBox.setKeySelectionManager​(JComboBox.KeySelectionManager aManager)
      Sets the object that translates a keyboard character into a list selection.
      voidAbstractButton.setLabel​(String label)
      Deprecated.
      - Replaced by setText(text)
      voidJPopupMenu.setLabel​(String label)
      Sets the popup menu's label.
      voidJLabel.setLabelFor​(Component c)
      Set the component this is labelling.
      voidJSlider.setLabelTable​(Dictionary labels)
      Used to specify what label will be drawn at any given value.
      voidJTree.setLargeModel​(boolean newValue)
      Specifies whether the UI should use a large model.
      voidJSplitPane.setLastDividerLocation​(int newLastLocation)
      Sets the last location the divider was at to newLastLocation.
      voidJInternalFrame.setLayer​(int layer)
      Convenience method for setting the layer attribute of this component.
      voidJInternalFrame.setLayer​(Integer layer)
      Convenience method for setting the layer attribute of this component.
      voidJApplet.setLayeredPane​(JLayeredPane layeredPane)
      Deprecated.
      Sets the layeredPane property.
      voidJDialog.setLayeredPane​(JLayeredPane layeredPane)
      Sets the layeredPane property.
      voidJFrame.setLayeredPane​(JLayeredPane layeredPane)
      Sets the layeredPane property.
      voidJInternalFrame.setLayeredPane​(JLayeredPane layered)
      Sets this JInternalFrame's layeredPane property.
      voidJWindow.setLayeredPane​(JLayeredPane layeredPane)
      Sets the layeredPane property.
      voidJList.setLayoutOrientation​(int layoutOrientation)
      Defines the way list cells are layed out.
      voidJTree.setLeadSelectionPath​(TreePath newPath)
      Sets the path identifies as the lead.
      voidJComboBox.setLightWeightPopupEnabled​(boolean aFlag)
      Sets the lightWeightPopupEnabled property, which provides a hint as to whether or not a lightweight Component should be used to contain the JComboBox, versus a heavyweight Component such as a Panel or a Window.
      voidJPopupMenu.setLightWeightPopupEnabled​(boolean aFlag)
      Sets the value of the lightWeightPopupEnabled property, which by default is true.
      voidJTextArea.setLineWrap​(boolean wrap)
      Sets the line-wrapping policy of the text area.
      voidJPopupMenu.setLocation​(int x, int y)
      Sets the location of the upper left corner of the popup menu using x, y coordinates.
      voidJSlider.setMajorTickSpacing​(int n)
      This method sets the major tick spacing.
      voidAbstractButton.setMargin​(Insets m)
      Sets space for margin between the button's border and the label.
      voidJMenuBar.setMargin​(Insets m)
      Sets the margin between the menubar's border and its menus.
      voidJToolBar.setMargin​(Insets m)
      Sets the margin between the tool bar's border and its buttons.
      voidJInternalFrame.setMaximizable​(boolean b)
      Sets the maximizable property, which determines whether the JInternalFrame can be maximized by some user action.
      voidJInternalFrame.setMaximum​(boolean b)
      Maximizes and restores this internal frame.
      voidJProgressBar.setMaximum​(int n)
      Sets the progress bar's maximum value (stored in the progress bar's data model) to n.
      voidJScrollBar.setMaximum​(int maximum)
      Sets the model's maximum property.
      voidJSlider.setMaximum​(int maximum)
      Sets the slider's maximum value to maximum.
      voidJComboBox.setMaximumRowCount​(int count)
      Sets the maximum number of rows the JComboBox displays.
      voidJComponent.setMaximumSize​(Dimension maximumSize)
      Sets the maximum size of this component to a constant value.
      voidJOptionPane.setMessage​(Object newMessage)
      Sets the option pane's message-object.
      voidJOptionPane.setMessageType​(int newType)
      Sets the option pane's message type.
      voidJProgressBar.setMinimum​(int n)
      Sets the progress bar's minimum value (stored in the progress bar's data model) to n.
      voidJScrollBar.setMinimum​(int minimum)
      Sets the model's minimum property.
      voidJSlider.setMinimum​(int minimum)
      Sets the slider's minimum value to minimum.
      voidJComponent.setMinimumSize​(Dimension minimumSize)
      Sets the minimum size of this component to a constant value.
      voidJSlider.setMinorTickSpacing​(int n)
      This method sets the minor tick spacing.
      voidAbstractButton.setMnemonic​(char mnemonic)
      This method is now obsolete, please use setMnemonic(int) to set the mnemonic for a button.
      voidAbstractButton.setMnemonic​(int mnemonic)
      Sets the keyboard mnemonic on the current model.
      voidJTabbedPane.setMnemonicAt​(int tabIndex, int mnemonic)
      Sets the keyboard mnemonic for accessing the specified tab.
      voidAbstractButton.setModel​(ButtonModel newModel)
      Sets the model that this button represents.
      voidJComboBox.setModel​(ComboBoxModel<E> aModel)
      Sets the data model that the JComboBox uses to obtain the list of items.
      voidJList.setModel​(ListModel<E> model)
      Sets the model that represents the contents or "value" of the list, notifies property change listeners, and then clears the list's selection.
      voidJProgressBar.setModel​(BoundedRangeModel newModel)
      Sets the data model used by the JProgressBar.
      voidJScrollBar.setModel​(BoundedRangeModel newModel)
      Sets the model that handles the scrollbar's four fundamental properties: minimum, maximum, value, extent.
      voidJSlider.setModel​(BoundedRangeModel newModel)
      Sets the BoundedRangeModel that handles the slider's three fundamental properties: minimum, maximum, value.
      voidJSpinner.setModel​(SpinnerModel model)
      Changes the model that represents the value of this spinner.
      voidJTabbedPane.setModel​(SingleSelectionModel model)
      Sets the model to be used with this tabbedpane.
      voidJTable.setModel​(TableModel dataModel)
      Sets the data model for this table to dataModel and registers with it for listener notifications from the new data model.
      voidJTree.setModel​(TreeModel newModel)
      Sets the TreeModel that will provide the data.
      voidJFileChooser.setMultiSelectionEnabled​(boolean b)
      Sets the file chooser to allow multiple file selections.
      voidJSplitPane.setOneTouchExpandable​(boolean newValue)
      Sets the value of the oneTouchExpandable property, which must be true for the JSplitPane to provide a UI widget on the divider to quickly expand/collapse the divider.
      voidJComponent.setOpaque​(boolean isOpaque)
      If true the component paints every pixel within its bounds.
      voidJOptionPane.setOptions​(Object[] newOptions)
      Sets the options this pane displays.
      voidJOptionPane.setOptionType​(int newType)
      Sets the options to display.
      voidJProgressBar.setOrientation​(int newOrientation)
      Sets the progress bar's orientation to newOrientation, which must be SwingConstants.VERTICAL or SwingConstants.HORIZONTAL.
      voidJScrollBar.setOrientation​(int orientation)
      Set the scrollbar's orientation to either VERTICAL or HORIZONTAL.
      voidJSeparator.setOrientation​(int orientation)
      Sets the orientation of the separator.
      voidJSlider.setOrientation​(int orientation)
      Set the slider's orientation to either SwingConstants.VERTICAL or SwingConstants.HORIZONTAL.
      voidJSplitPane.setOrientation​(int orientation)
      Sets the orientation, or how the splitter is divided.
      voidJToolBar.setOrientation​(int o)
      Sets the orientation of the tool bar.
      voidJEditorPane.setPage​(URL page)
      Sets the current URL being displayed.
      voidJSlider.setPaintLabels​(boolean b)
      Determines whether labels are painted on the slider.
      voidJSlider.setPaintTicks​(boolean b)
      Determines whether tick marks are painted on the slider.
      voidJSlider.setPaintTrack​(boolean b)
      Determines whether the track is painted on the slider.
      voidJMenu.setPopupMenuVisible​(boolean b)
      Sets the visibility of the menu's popup.
      voidJPopupMenu.setPopupSize​(int width, int height)
      Sets the size of the Popup window to the specified width and height.
      voidJPopupMenu.setPopupSize​(Dimension d)
      Sets the size of the Popup window using a Dimension object.
      voidJTable.setPreferredScrollableViewportSize​(Dimension size)
      Sets the preferred size of the viewport for this table.
      voidJComponent.setPreferredSize​(Dimension preferredSize)
      Sets the preferred size of this component.
      voidAbstractButton.setPressedIcon​(Icon pressedIcon)
      Sets the pressed icon for the button.
      voidJColorChooser.setPreviewPanel​(JComponent preview)
      Sets the current preview panel.
      voidJList.setPrototypeCellValue​(E prototypeCellValue)
      Sets the prototypeCellValue property, and then (if the new value is non-null), computes the fixedCellWidth and fixedCellHeight properties by requesting the cell renderer component for the given value (and index 0) from the cell renderer, and using that component's preferred size.
      voidJComboBox.setPrototypeDisplayValue​(E prototypeDisplayValue)
      Sets the prototype display value used to calculate the size of the display for the UI portion.
      voidJComboBox.setRenderer​(ListCellRenderer<? super E> aRenderer)
      Sets the renderer that paints the list items and the item selected from the list in the JComboBox field.
      voidJInternalFrame.setResizable​(boolean b)
      Sets whether the JInternalFrame can be resized by some user action.
      voidJSplitPane.setResizeWeight​(double value)
      Specifies how to distribute extra space when the size of the split pane changes.
      voidJSplitPane.setRightComponent​(Component comp)
      Sets the component to the right (or below) the divider.
      voidJToolBar.setRollover​(boolean rollover)
      Sets the rollover state of this toolbar.
      voidAbstractButton.setRolloverEnabled​(boolean b)
      Sets the rolloverEnabled property, which must be true for rollover effects to occur.
      voidAbstractButton.setRolloverIcon​(Icon rolloverIcon)
      Sets the rollover icon for the button.
      voidAbstractButton.setRolloverSelectedIcon​(Icon rolloverSelectedIcon)
      Sets the rollover selected icon for the button.
      protected voidJApplet.setRootPaneCheckingEnabled​(boolean enabled)
      Deprecated.
      Sets whether calls to add and setLayout are forwarded to the contentPane.
      protected voidJDialog.setRootPaneCheckingEnabled​(boolean enabled)
      Sets whether calls to add and setLayout are forwarded to the contentPane.
      protected voidJFrame.setRootPaneCheckingEnabled​(boolean enabled)
      Sets whether calls to add and setLayout are forwarded to the contentPane.
      protected voidJInternalFrame.setRootPaneCheckingEnabled​(boolean enabled)
      Sets whether calls to add and setLayout are forwarded to the contentPane.
      protected voidJWindow.setRootPaneCheckingEnabled​(boolean enabled)
      Sets whether calls to add and setLayout are forwarded to the contentPane.
      voidJTree.setRootVisible​(boolean rootVisible)
      Determines whether or not the root node from the TreeModel is visible.
      voidJScrollPane.setRowHeader​(JViewport rowHeader)
      Removes the old rowHeader, if it exists; if the new rowHeader isn't null, syncs the y coordinate of its viewPosition with the viewport (if there is one) and then adds it to the scroll pane.
      voidJTable.setRowHeight​(int rowHeight)
      Sets the height, in pixels, of all cells to rowHeight, revalidates, and repaints.
      voidJTable.setRowHeight​(int row, int rowHeight)
      Sets the height for row to rowHeight, revalidates, and repaints.
      voidJTree.setRowHeight​(int rowHeight)
      Sets the height of each cell, in pixels.
      voidJTable.setRowMargin​(int rowMargin)
      Sets the amount of empty space between cells in adjacent rows.
      voidJTextArea.setRows​(int rows)
      Sets the number of rows for this TextArea.
      voidJTable.setRowSelectionAllowed​(boolean rowSelectionAllowed)
      Sets whether the rows in this model can be selected.
      voidJTable.setRowSorter​(RowSorter<? extends TableModel> sorter)
      Sets the RowSorter.
      voidJViewport.setScrollMode​(int mode)
      Used to control the method of scrolling the viewport contents.
      voidJTree.setScrollsOnExpand​(boolean newValue)
      Sets the scrollsOnExpand property, which determines whether the tree might scroll to show previously hidden children.
      voidJInternalFrame.setSelected​(boolean selected)
      Selects or deselects the internal frame if it's showing.
      voidJMenu.setSelected​(boolean b)
      Sets the selection status of the menu.
      voidJPopupMenu.setSelected​(Component sel)
      Sets the currently selected component, This will result in a change to the selection model.
      voidJTabbedPane.setSelectedComponent​(Component c)
      Sets the selected component for this tabbedpane.
      voidJFileChooser.setSelectedFile​(File file)
      Sets the selected file.
      voidJFileChooser.setSelectedFiles​(File[] selectedFiles)
      Sets the list of selected files if the file chooser is set to allow multiple selection.
      voidAbstractButton.setSelectedIcon​(Icon selectedIcon)
      Sets the selected icon for the button.
      voidJComboBox.setSelectedIndex​(int anIndex)
      Selects the item at index anIndex.
      voidJList.setSelectedIndex​(int index)
      Selects a single cell.
      voidJTabbedPane.setSelectedIndex​(int index)
      Sets the selected index for this tabbedpane.
      voidJComboBox.setSelectedItem​(Object anObject)
      Sets the selected item in the combo box display area to the object in the argument.
      voidJList.setSelectionBackground​(Color selectionBackground)
      Sets the color used to draw the background of selected items, which cell renderers can use fill selected cells.
      voidJTable.setSelectionBackground​(Color selectionBackground)
      Sets the background color for selected cells.
      voidJList.setSelectionForeground​(Color selectionForeground)
      Sets the color used to draw the foreground of selected items, which cell renderers can use to render text and graphics.
      voidJTable.setSelectionForeground​(Color selectionForeground)
      Sets the foreground color for selected cells.
      voidJList.setSelectionMode​(int selectionMode)
      Sets the selection mode for the list.
      voidJTable.setSelectionMode​(int selectionMode)
      Sets the table's selection mode to allow only single selections, a single contiguous interval, or multiple intervals.
      voidJColorChooser.setSelectionModel​(ColorSelectionModel newModel)
      Sets the model containing the selected color.
      voidJList.setSelectionModel​(ListSelectionModel selectionModel)
      Sets the selectionModel for the list to a non-nullListSelectionModel implementation.
      voidJMenuBar.setSelectionModel​(SingleSelectionModel model)
      Sets the model object to handle single selections.
      voidJPopupMenu.setSelectionModel​(SingleSelectionModel model)
      Sets the model object to handle single selections.
      voidJTable.setSelectionModel​(ListSelectionModel selectionModel)
      Sets the row selection model for this table to selectionModel and registers for listener notifications from the new selection model.
      voidJTree.setSelectionModel​(TreeSelectionModel selectionModel)
      Sets the tree's selection model.
      voidJOptionPane.setSelectionValues​(Object[] newValues)
      Sets the input selection values for a pane that provides the user with a list of items to choose from.
      voidJTable.setShowGrid​(boolean showGrid)
      Sets whether the table draws grid lines around cells.
      voidJTable.setShowHorizontalLines​(boolean showHorizontalLines)
      Sets whether the table draws horizontal lines between cells.
      voidJTree.setShowsRootHandles​(boolean newValue)
      Sets the value of the showsRootHandles property, which specifies whether the node handles should be displayed.
      voidJTable.setShowVerticalLines​(boolean showVerticalLines)
      Sets whether the table draws vertical lines between cells.
      voidJSlider.setSnapToTicks​(boolean b)
      Specifying true makes the knob (and the data value it represents) resolve to the closest tick mark next to where the user positioned the knob.
      voidJCheckBoxMenuItem.setState​(boolean b)
      Sets the selected-state of the item.
      voidJProgressBar.setString​(String s)
      Sets the value of the progress string.
      voidJProgressBar.setStringPainted​(boolean b)
      Sets the value of the stringPainted property, which determines whether the progress bar should render a progress string.
      voidJTabbedPane.setTabComponentAt​(int index, Component component)
      Sets the component that is responsible for rendering the title for the specified tab.
      voidJTabbedPane.setTabLayoutPolicy​(int tabLayoutPolicy)
      Sets the policy which the tabbedpane will use in laying out the tabs when all the tabs will not fit within a single run.
      voidJTable.setTableHeader​(JTableHeader tableHeader)
      Sets the tableHeader working with this JTable to newHeader.
      voidJTabbedPane.setTabPlacement​(int tabPlacement)
      Sets the tab placement for this tabbedpane.
      voidJTextArea.setTabSize​(int size)
      Sets the number of characters to expand tabs to.
      voidAbstractButton.setText​(String text)
      Sets the button's text.
      voidJEditorPane.setText​(String t)
      Sets the text of this TextComponent to the specified content, which is expected to be in the format of the content type of this editor.
      voidJLabel.setText​(String text)
      Defines the single line of text this component will display.
      voidJToolTip.setTipText​(String tipText)
      Sets the text to show when the tool tip is displayed.
      voidJInternalFrame.setTitle​(String title)
      Sets the JInternalFrame title.
      voidJTabbedPane.setTitleAt​(int index, String title)
      Sets the title at index to title which can be null.
      voidJTree.setToggleClickCount​(int clickCount)
      Sets the number of mouse clicks before a node will expand or close.
      voidJComponent.setToolTipText​(String text)
      Registers the text to display in a tool tip.
      voidJTabbedPane.setToolTipTextAt​(int index, String toolTipText)
      Sets the tooltip text at index to toolTipText which can be null.
      voidJSplitPane.setTopComponent​(Component comp)
      Sets the component above, or to the left of the divider.
      voidJApplet.setTransferHandler​(TransferHandler newHandler)
      Deprecated.
      Sets the transferHandler property, which is a mechanism to support transfer of data into this component.
      voidJComponent.setTransferHandler​(TransferHandler newHandler)
      Sets the TransferHandler, which provides support for transfer of data into and out of this component via cut/copy/paste and drag and drop.
      voidJDialog.setTransferHandler​(TransferHandler newHandler)
      Sets the transferHandler property, which is a mechanism to support transfer of data into this component.
      voidJFrame.setTransferHandler​(TransferHandler newHandler)
      Sets the transferHandler property, which is a mechanism to support transfer of data into this component.
      voidJWindow.setTransferHandler​(TransferHandler newHandler)
      Sets the transferHandler property, which is a mechanism to support transfer of data into this component.
      voidAbstractButton.setUI​(ButtonUI ui)
      Sets the L&F object that renders this component.
      voidJColorChooser.setUI​(ColorChooserUI ui)
      Sets the L&F object that renders this component.
      voidJComboBox.setUI​(ComboBoxUI ui)
      Sets the L&F object that renders this component.
      protected voidJComponent.setUI​(ComponentUI newUI)
      Sets the look and feel delegate for this component.
      voidJDesktopPane.setUI​(DesktopPaneUI ui)
      Sets the L&F object that renders this component.
      voidJInternalFrame.setUI​(InternalFrameUI ui)
      Sets the UI delegate for this JInternalFrame.
      voidJLabel.setUI​(LabelUI ui)
      Sets the L&F object that renders this component.
      voidJList.setUI​(ListUI ui)
      Sets the ListUI, the look and feel object that renders this component.
      voidJMenuBar.setUI​(MenuBarUI ui)
      Sets the L&F object that renders this component.
      voidJMenuItem.setUI​(MenuItemUI ui)
      Sets the look and feel object that renders this component.
      voidJOptionPane.setUI​(OptionPaneUI ui)
      Sets the UI object which implements the L&F for this component.
      voidJPanel.setUI​(PanelUI ui)
      Sets the look and feel (L&F) object that renders this component.
      voidJPopupMenu.setUI​(PopupMenuUI ui)
      Sets the L&F object that renders this component.
      voidJProgressBar.setUI​(ProgressBarUI ui)
      Sets the look-and-feel object that renders this component.
      voidJRootPane.setUI​(RootPaneUI ui)
      Sets the L&F object that renders this component.
      voidJScrollBar.setUI​(ScrollBarUI ui)
      Sets the L&F object that renders this component.
      voidJSeparator.setUI​(SeparatorUI ui)
      Sets the L&F object that renders this component.
      voidJSlider.setUI​(SliderUI ui)
      Sets the UI object which implements the L&F for this component.
      voidJTabbedPane.setUI​(TabbedPaneUI ui)
      Sets the UI object which implements the L&F for this component.
      voidJTable.setUI​(TableUI ui)
      Sets the L&F object that renders this component and repaints.
      voidJToolBar.setUI​(ToolBarUI ui)
      Sets the L&F object that renders this component.
      voidJTree.setUI​(TreeUI ui)
      Sets the L&F object that renders this component.
      voidJViewport.setUI​(ViewportUI ui)
      Sets the L&F object that renders this component.
      voidJScrollBar.setUnitIncrement​(int unitIncrement)
      Sets the unitIncrement property.
      voidJTable.setUpdateSelectionOnSort​(boolean update)
      Specifies whether the selection should be updated after sorting.
      voidJFormattedTextField.setValue​(Object value)
      Sets the value that will be formatted by an AbstractFormatter obtained from the current AbstractFormatterFactory.
      voidJOptionPane.setValue​(Object newValue)
      Sets the value the user has chosen.
      voidJProgressBar.setValue​(int n)
      Sets the progress bar's current value to n.
      voidJScrollBar.setValue​(int value)
      Sets the scrollbar's value.
      voidJSlider.setValue​(int n)
      Sets the slider's current value to n.
      voidJScrollBar.setValueIsAdjusting​(boolean b)
      Sets the model's valueIsAdjusting property.
      voidJSlider.setValueIsAdjusting​(boolean b)
      Sets the model's valueIsAdjusting property.
      voidJComponent.setVerifyInputWhenFocusTarget​(boolean verifyInputWhenFocusTarget)
      Sets the value to indicate whether input verifier for the current focus owner will be called before this component requests focus.
      voidAbstractButton.setVerticalAlignment​(int alignment)
      Sets the vertical alignment of the icon and text.
      voidJLabel.setVerticalAlignment​(int alignment)
      Sets the alignment of the label's contents along the Y axis.
      voidJScrollPane.setVerticalScrollBar​(JScrollBar verticalScrollBar)
      Adds the scrollbar that controls the viewports vertical view position to the scrollpane.
      voidJScrollPane.setVerticalScrollBarPolicy​(int policy)
      Determines when the vertical scrollbar appears in the scrollpane.
      voidAbstractButton.setVerticalTextPosition​(int textPosition)
      Sets the vertical position of the text relative to the icon.
      voidJLabel.setVerticalTextPosition​(int textPosition)
      Sets the vertical position of the label's text, relative to its image.
      voidJScrollPane.setViewport​(JViewport viewport)
      Removes the old viewport (if there is one); forces the viewPosition of the new viewport to be in the +x,+y quadrant; syncs up the row and column headers (if there are any) with the new viewport; and finally syncs the scrollbars and headers with the new viewport.
      voidJScrollPane.setViewportBorder​(Border viewportBorder)
      Adds a border around the viewport.
      voidJComponent.setVisible​(boolean aFlag)
      Makes the component visible or invisible.
      voidJPopupMenu.setVisible​(boolean b)
      Sets the visibility of the popup menu.
      voidJScrollBar.setVisibleAmount​(int extent)
      Set the model's extent property.
      voidJList.setVisibleRowCount​(int visibleRowCount)
      Sets the visibleRowCount property, which has different meanings depending on the layout orientation: For a VERTICAL layout orientation, this sets the preferred number of rows to display without requiring scrolling; for other orientations, it affects the wrapping of cells.
      voidJTree.setVisibleRowCount​(int newCount)
      Sets the number of rows that are to be displayed.
      voidJOptionPane.setWantsInput​(boolean newValue)
      Sets the wantsInput property.
      voidJScrollPane.setWheelScrollingEnabled​(boolean handleWheel)
      Enables/disables scrolling in response to movement of the mouse wheel.
      voidJRootPane.setWindowDecorationStyle​(int windowDecorationStyle)
      Sets the type of Window decorations (such as borders, widgets for closing a Window, title ...) the JRootPane should provide.
      voidJTextArea.setWrapStyleWord​(boolean word)
      Sets the style of wrapping used if the text area is wrapping lines.
    • Uses of BeanProperty in javax.swing.colorchooser

      Methods in javax.swing.colorchooser with annotations of type BeanProperty 
      Modifier and TypeMethodDescription
      voidAbstractColorChooserPanel.setColorTransparencySelectionEnabled​(boolean b)
      Sets whether color chooser panel allows to select the transparency (alpha value) of a color.
    • Uses of BeanProperty in javax.swing.table

      Methods in javax.swing.table with annotations of type BeanProperty 
      Modifier and TypeMethodDescription
      voidTableColumn.setCellEditor​(TableCellEditor cellEditor)
      Sets the editor to used by when a cell in this column is edited.
      voidTableColumn.setCellRenderer​(TableCellRenderer cellRenderer)
      Sets the TableCellRenderer used by JTable to draw individual values for this column.
      voidJTableHeader.setColumnModel​(TableColumnModel columnModel)
      Sets the column model for this table to newModel and registers for listener notifications from the new column model.
      voidTableColumn.setHeaderRenderer​(TableCellRenderer headerRenderer)
      Sets the TableCellRenderer used to draw the TableColumn's header to headerRenderer.
      voidTableColumn.setHeaderValue​(Object headerValue)
      Sets the Object whose string representation will be used as the value for the headerRenderer.
      voidTableColumn.setIdentifier​(Object identifier)
      Sets the TableColumn's identifier to anIdentifier.
      voidTableColumn.setMaxWidth​(int maxWidth)
      Sets the TableColumn's maximum width to maxWidth or, if maxWidth is less than the minimum width, to the minimum width.
      voidTableColumn.setMinWidth​(int minWidth)
      Sets the TableColumn's minimum width to minWidth, adjusting the new minimum width if necessary to ensure that 0 <= minWidth <= maxWidth.
      voidTableColumn.setModelIndex​(int modelIndex)
      Sets the model index for this column.
      voidTableColumn.setPreferredWidth​(int preferredWidth)
      Sets this column's preferred width to preferredWidth.
      voidJTableHeader.setReorderingAllowed​(boolean reorderingAllowed)
      Sets whether the user can drag column headers to reorder columns.
      voidTableColumn.setResizable​(boolean isResizable)
      Sets whether this column can be resized.
      voidJTableHeader.setResizingAllowed​(boolean resizingAllowed)
      Sets whether the user can resize columns by dragging between headers.
      voidJTableHeader.setTable​(JTable table)
      Sets the table associated with this header.
      voidTableColumn.setWidth​(int width)
      This method should not be used to set the widths of columns in the JTable, use setPreferredWidth instead.
    • Uses of BeanProperty in javax.swing.text

      Methods in javax.swing.text with annotations of type BeanProperty 
      Modifier and TypeMethodDescription
      AccessibleContextJTextComponent.getAccessibleContext()
      Gets the AccessibleContext associated with this JTextComponent.
      Action[]JTextComponent.getActions()
      Fetches the command list for the editor.
      CaretListener[]JTextComponent.getCaretListeners()
      Returns an array of all the caret listeners registered on this text component.
      JTextComponent.DropLocationJTextComponent.getDropLocation()
      Returns the location that this component should visually indicate as the drop location during a DnD operation over the component, or null if no location is to currently be shown.
      DimensionJTextComponent.getPreferredScrollableViewportSize()
      Returns the preferred size of the viewport for a view component.
      booleanJTextComponent.getScrollableTracksViewportHeight()
      Returns true if a viewport should always force the height of this Scrollable to match the height of the viewport.
      booleanJTextComponent.getScrollableTracksViewportWidth()
      Returns true if a viewport should always force the width of this Scrollable to match the width of the viewport.
      StringJTextComponent.getSelectedText()
      Returns the selected text contained in this TextComponent.
      voidJTextComponent.setCaret​(Caret c)
      Sets the caret to be used.
      voidJTextComponent.setCaretColor​(Color c)
      Sets the current color used to render the caret.
      voidJTextComponent.setCaretPosition​(int position)
      Sets the position of the text insertion caret for the TextComponent.
      voidJTextComponent.setDisabledTextColor​(Color c)
      Sets the current color used to render the disabled text.
      voidJTextComponent.setDocument​(Document doc)
      Associates the editor with a text document.
      voidJTextComponent.setDragEnabled​(boolean b)
      Turns on or off automatic drag handling.
      voidJTextComponent.setEditable​(boolean b)
      Sets the specified boolean to indicate whether or not this TextComponent should be editable.
      voidJTextComponent.setFocusAccelerator​(char aKey)
      Sets the key accelerator that will cause the receiving text component to get the focus.
      voidJTextComponent.setHighlighter​(Highlighter h)
      Sets the highlighter to be used.
      voidJTextComponent.setKeymap​(Keymap map)
      Sets the keymap to use for binding events to actions.
      voidJTextComponent.setMargin​(Insets m)
      Sets margin space between the text component's border and its text.
      voidJTextComponent.setSelectedTextColor​(Color c)
      Sets the current color used to render the selected text.
      voidJTextComponent.setSelectionColor​(Color c)
      Sets the current color used to render the selection.
      voidJTextComponent.setSelectionEnd​(int selectionEnd)
      Sets the selection end to the specified position.
      voidJTextComponent.setSelectionStart​(int selectionStart)
      Sets the selection start to the specified position.
      voidJTextComponent.setText​(String t)
      Sets the text of this TextComponent to the specified text.
    • Uses of BeanProperty in javax.swing.tree

      Methods in javax.swing.tree with annotations of type BeanProperty 
      Modifier and TypeMethodDescription
      voidDefaultTreeCellEditor.DefaultTextField.setBorder​(Border border)
      Sets the border of this component.
      voidVariableHeightLayoutCache.setModel​(TreeModel newModel)
      Sets the TreeModel that will provide the data.
      voidAbstractLayoutCache.setRootVisible​(boolean rootVisible)
      Determines whether or not the root node from the TreeModel is visible.
      voidVariableHeightLayoutCache.setRootVisible​(boolean rootVisible)
      Determines whether or not the root node from the TreeModel is visible.
      voidAbstractLayoutCache.setRowHeight​(int rowHeight)
      Sets the height of each cell.
      voidVariableHeightLayoutCache.setRowHeight​(int rowHeight)
      Sets the height of each cell.

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部