Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (


Class EmptyListTextLayer<V extends javax.swing.JComponent>

  extended by javax.swing.plaf.ComponentUI
      extended by org.jdesktop.jxlayer.plaf.LayerUI<V>
          extended by org.jdesktop.jxlayer.plaf.AbstractLayerUI<V>
              extended by oracle.javatools.ui.TextLayer<V>
                  extended by oracle.javatools.ui.list.EmptyListTextLayer<V>

Type Parameters:
V -
All Implemented Interfaces:

public final class EmptyListTextLayer<V extends javax.swing.JComponent>
extends TextLayer<V>

A TextLayer to display a message over a JList when it is empty.
Use by creating a JLayer/JXLayer with a JList or a scrollpane containing a JList, and an instance of this class. With JDK 1.6 it is important to ensure the JList is added to the JScrollPane which is added to the JXLayer.

See Also:
Serialized Form

Field Summary


Fields inherited from class oracle.javatools.ui.TextLayer


Constructor Summary
EmptyListTextLayer(javax.swing.JList list, java.lang.String string)


Method Summary
protected  void paintLayer(java.awt.Graphics2D g2, org.jdesktop.jxlayer.JXLayer<? extends V> l)


Methods inherited from class oracle.javatools.ui.TextLayer
getFont, getForeground, getText, isTextVisible, setFont, setForeground, setText, setTextVisible


Methods inherited from class org.jdesktop.jxlayer.plaf.AbstractLayerUI
configureGraphics, eventDispatched, getClip, getComposite, getLayerEventMask, getRenderingHints, getTransform, handlePropertyChangeEvent, installUI, isDirty, paint, processFocusEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, setDirty, uninstallUI


Methods inherited from class org.jdesktop.jxlayer.plaf.LayerUI
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getPreferredScrollableViewportSize, getPropertyChangeListeners, getPropertyChangeListeners, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, removePropertyChangeListener, removePropertyChangeListener, updateUI


Methods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, update


Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait


Constructor Detail


public EmptyListTextLayer(javax.swing.JList list,
                          java.lang.String string)

Method Detail


protected void paintLayer(java.awt.Graphics2D g2,
                          org.jdesktop.jxlayer.JXLayer<? extends V> l)
paintLayer in class TextLayer<V extends javax.swing.JComponent>

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (


Copyright © 1997, 2012, Oracle. All rights reserved.