JavaScript is disabled on your browser.
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 12c (12.1.3) E41664-01
java.lang.Object
oracle.javatools.ui.list.RolloverRenderer
All Implemented Interfaces:
javax.swing.ListCellRenderer
public class RolloverRenderer
extends java.lang.Object
implements javax.swing.ListCellRenderer
A decorating renderer for JLists that adds a rollover highlight for
mouse movement.
This renderer optionally wraps another custom renderer. The background color
of that renderer will be modified by this wrapper.
Constructor Summary
Constructors
Constructor and Description
RolloverRenderer (javax.swing.JList list)
Create a default rollover renderer
RolloverRenderer (javax.swing.JList list,
javax.swing.ListCellRenderer baseRenderer)
Wrap another renderer to add rollover highlighting to it.
Method Summary
Methods
Modifier and Type
Method and Description
java.awt.Component
getListCellRendererComponent (javax.swing.JList list,
java.lang.Object value,
int index,
boolean isSelected,
boolean cellHasFocus)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
RolloverRenderer
public RolloverRenderer(javax.swing.JList list,
javax.swing.ListCellRenderer baseRenderer)
Wrap another renderer to add rollover highlighting to it.
Parameters: list
- baseRenderer
-
Method Detail
getListCellRendererComponent
public java.awt.Component getListCellRendererComponent(javax.swing.JList list,
java.lang.Object value,
int index,
boolean isSelected,
boolean cellHasFocus)
Specified by:
getListCellRendererComponent
in interface javax.swing.ListCellRenderer
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 12c (12.1.3) E41664-01
Copyright © 1997, 2014, Oracle. All rights reserved.