Package Summary  Overview Summary

class:DefaultListCellRenderer [CHANGED]

field:noFocusBorder [CHANGED]

  • noFocusBorder

    protected static Border noFocusBorder
    No focus border
  • noFocusBorder

    protected static Border noFocusBorder
  • noFocusBorder

    protected static Border noFocusBorder
    No focus border

constructor:DefaultListCellRenderer() [CHANGED]

  • DefaultListCellRenderer

    public DefaultListCellRendererpublic DefaultListCellRenderer​()
    Constructs a default renderer object for an item in a list.
  • DefaultListCellRenderer

    public DefaultListCellRenderer()
    Constructs a default renderer object for an item in a list.
  • DefaultListCellRenderer

    public DefaultListCellRenderer​()
    Constructs a default renderer object for an item in a list.

method:getListCellRendererComponent(javax.swing.JList, java.lang.Object, int, boolean, boolean) [CHANGED]

  • getListCellRendererComponent

    public Component getListCellRendererComponent getListCellRendererComponent​(JList<?> list,
                                                  Object value,
                                                  int index,
                                                  boolean isSelected,
                                                  boolean cellHasFocus)
    Description copied from interface: ListCellRenderer
    Return a component that has been configured to display the specified value. That component's paint method is then called to "render" the cell. If it is necessary to compute the dimensions of a list because the list cells do not have a fixed size, this method is called to generate a component on which getPreferredSize can be invoked.
    Specified by:
    getListCellRendererComponent in interface ListCellRenderer<Object>
    Parameters:
    list - The JList we're painting.
    value - The value returned by list.getModel().getElementAt(index).
    index - The cells index.
    isSelected - True if the specified cell was selected.
    cellHasFocus - True if the specified cell has the focus.
    Returns:
    A component whose paint() method will render the specified value.
    See Also:
    JList, ListSelectionModel, ListModel
  • getListCellRendererComponent

    public Component getListCellRendererComponent(JList<?> list,
                                                  Object value,
                                                  int index,
                                                  boolean isSelected,
                                                  boolean cellHasFocus)
    Description copied from interface: ListCellRenderer
    Return a component that has been configured to display the specified value. That component's paint method is then called to "render" the cell. If it is necessary to compute the dimensions of a list because the list cells do not have a fixed size, this method is called to generate a component on which getPreferredSize can be invoked.
    Specified by:
    getListCellRendererComponent in interface ListCellRenderer<Object>
    Parameters:
    list - The JList we're painting.
    value - The value returned by list.getModel().getElementAt(index).
    index - The cells index.
    isSelected - True if the specified cell was selected.
    cellHasFocus - True if the specified cell has the focus.
    Returns:
    A component whose paint() method will render the specified value.
    See Also:
    JList, ListSelectionModel, ListModel
  • getListCellRendererComponent

    public Component getListCellRendererComponent​(JList<?> list,
                                                  Object value,
                                                  int index,
                                                  boolean isSelected,
                                                  boolean cellHasFocus)
    Description copied from interface: ListCellRenderer
    Return a component that has been configured to display the specified value. That component's paint method is then called to "render" the cell. If it is necessary to compute the dimensions of a list because the list cells do not have a fixed size, this method is called to generate a component on which getPreferredSize can be invoked.
    Specified by:
    getListCellRendererComponent in interface ListCellRenderer<Object>
    Parameters:
    list - The JList we're painting.
    value - The value returned by list.getModel().getElementAt(index).
    index - The cells index.
    isSelected - True if the specified cell was selected.
    cellHasFocus - True if the specified cell has the focus.
    Returns:
    A component whose paint() method will render the specified value.
    See Also:
    JList, ListSelectionModel, ListModel

method:isOpaque() [CHANGED]

  • isOpaque

    public boolean isOpaquepublic boolean isOpaque​()
    Overridden for performance reasons. See the Implementation Note for more information.
    Overrides:
    isOpaque in class JComponent
    Returns:
    true if the background is completely opaque and differs from the JList's background; false otherwise
    Since:
    1.5
    See Also:
    JComponent.setOpaque(boolean)

method:validate() [CHANGED]

method:invalidate() [CHANGED]

method:repaint() [CHANGED]

method:revalidate() [CHANGED]

method:repaint(long, int, int, int, int) [CHANGED]

method:repaint(java.awt.Rectangle) [CHANGED]

method:firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object) [CHANGED]

  • firePropertyChange

    protected void firePropertyChangeprotected void firePropertyChange​(String propertyName,
                                      Object oldValue,
                                      Object newValue)
    Overridden for performance reasons. See the Implementation Note for more information.
    Overrides:
    firePropertyChange in class Component
    Parameters:
    propertyName - the property whose value has changed
    oldValue - the property's previous value
    newValue - the property's new value
  • firePropertyChange

    protected void firePropertyChange(String propertyName,
                                      Object oldValue,
                                      Object newValue)
    Overridden for performance reasons. See the Implementation Note for more information.
    Overrides:
    firePropertyChange in class Component
    Parameters:
    propertyName - the property whose value has changed
    oldValue - the property's previous value
    newValue - the property's new value
  • firePropertyChange

    protected void firePropertyChange​(String propertyName,
                                      Object oldValue,
                                      Object newValue)
    Overridden for performance reasons. See the Implementation Note for more information.
    Overrides:
    firePropertyChange in class Component
    Parameters:
    propertyName - the property whose value has changed
    oldValue - the property's previous value
    newValue - the property's new value

method:firePropertyChange(java.lang.String, byte, byte) [CHANGED]

method:firePropertyChange(java.lang.String, char, char) [CHANGED]

method:firePropertyChange(java.lang.String, short, short) [CHANGED]

method:firePropertyChange(java.lang.String, int, int) [CHANGED]

  • firePropertyChange

    public void firePropertyChangepublic void firePropertyChange​(String propertyName,
                                   int oldValue,
                                   int newValue)
    Overridden for performance reasons. See the Implementation Note for more information.
    Overrides:
    firePropertyChange in class JComponent
    Parameters:
    propertyName - the property whose value has changed
    oldValue - the property's previous value
    newValue - the property's new value
  • firePropertyChange

    public void firePropertyChange(String propertyName,
                                   int oldValue,
                                   int newValue)
    Overridden for performance reasons. See the Implementation Note for more information.
    Overrides:
    firePropertyChange in class JComponent
    Parameters:
    propertyName - the property whose value has changed
    oldValue - the property's previous value
    newValue - the property's new value
  • firePropertyChange

    public void firePropertyChange​(String propertyName,
                                   int oldValue,
                                   int newValue)
    Overridden for performance reasons. See the Implementation Note for more information.
    Overrides:
    firePropertyChange in class JComponent
    Parameters:
    propertyName - the property whose value has changed
    oldValue - the property's previous value
    newValue - the property's new value

method:firePropertyChange(java.lang.String, long, long) [CHANGED]

method:firePropertyChange(java.lang.String, float, float) [CHANGED]

method:firePropertyChange(java.lang.String, double, double) [CHANGED]

method:firePropertyChange(java.lang.String, boolean, boolean) [CHANGED]

  • firePropertyChange

    public void firePropertyChangepublic void firePropertyChange​(String propertyName,
                                   boolean oldValue,
                                   boolean newValue)
    Overridden for performance reasons. See the Implementation Note for more information.
    Overrides:
    firePropertyChange in class JComponent
    Parameters:
    propertyName - the property whose value has changed
    oldValue - the property's previous value
    newValue - the property's new value
  • firePropertyChange

    public void firePropertyChange(String propertyName,
                                   boolean oldValue,
                                   boolean newValue)
    Overridden for performance reasons. See the Implementation Note for more information.
    Overrides:
    firePropertyChange in class JComponent
    Parameters:
    propertyName - the property whose value has changed
    oldValue - the property's previous value
    newValue - the property's new value
  • firePropertyChange

    public void firePropertyChange​(String propertyName,
                                   boolean oldValue,
                                   boolean newValue)
    Overridden for performance reasons. See the Implementation Note for more information.
    Overrides:
    firePropertyChange in class JComponent
    Parameters:
    propertyName - the property whose value has changed
    oldValue - the property's previous value
    newValue - the property's new value

© 2017 Oracle Corporation and/or its affiliates