Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

oracle.javatools.ui.list
Class EmptyListTextLayer<V extends javax.swing.JComponent>

java.lang.Object
  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:
java.io.Serializable

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
LARGE_FONT, REGULAR_FONT
 
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

EmptyListTextLayer

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

paintLayer

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

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

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