站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

ListWidget (Visual Library API) - NetBeans API Javadoc (Current Development Version)

org.netbeans.api.visual 2.2

org.netbeans.api.visual.widget.general
Class ListWidget

java.lang.Object
  extended by org.netbeans.api.visual.widget.Widget
      extended by org.netbeans.api.visual.widget.general.ListWidget

Deprecated.

public class ListWidget
extends Widget

This class represents a general list widget which is rendered as a rectangle with a header on top and list item widgets underneath.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.netbeans.api.visual.widget.Widget
Widget.Dependency
 
Constructor Summary
ListWidget(Scene scene)
          Deprecated. Creates a list widget.
 
Method Summary
 Widget getHeader()
          Deprecated. Returns a header widget.
 ImageWidget getImageWidget()
          Deprecated. Returns an image widget in the header.
 LabelWidget getLabelWidget()
          Deprecated. Returns a label widget in the header.
 void notifyStateChanged(ObjectState previousState, ObjectState state)
          Deprecated. Implements the widget-state specific look of the widget.
 void setImage(Image image)
          Deprecated. Sets an image used in the list header.
 void setLabel(String label)
          Deprecated. Sets a label used in the list header.
 
Methods inherited from class org.netbeans.api.visual.widget.Widget
addChild, addChild, addChild, addChild, addChildren, addDependency, bringToBack, bringToFront, calculateClientArea, convertLocalToScene, convertLocalToScene, convertSceneToLocal, convertSceneToLocal, createActions, equals, getAccessibleContext, getActions, getActions, getBackground, getBorder, getBounds, getChildConstraint, getChildren, getClientArea, getCursor, getFont, getForeground, getGraphics, getLayout, getLocation, getLookup, getMaximumSize, getMinimumSize, getParentWidget, getPreferredBounds, getPreferredLocation, getPreferredSize, getScene, getState, getToolTipText, hashCode, isCheckClipping, isEnabled, isHitAt, isOpaque, isPreferredBoundsSet, isRepaintRequiredForRevalidating, isValidated, isVisible, notifyAdded, notifyRemoved, paint, paintBackground, paintBorder, paintChildren, paintWidget, removeChild, removeChildren, removeChildren, removeDependency, removeFromParent, repaint, resolveBounds, revalidate, revalidate, setAccessibleContext, setBackground, setBorder, setBorder, setCheckClipping, setChildConstraint, setCursor, setEnabled, setFont, setForeground, setLayout, setMaximumSize, setMinimumSize, setOpaque, setPreferredBounds, setPreferredLocation, setPreferredSize, setState, setToolTipText, setVisible
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListWidget

public ListWidget(Scene scene)
Deprecated. 
Creates a list widget.

Parameters:
scene - the scene
Method Detail

notifyStateChanged

public void notifyStateChanged(ObjectState previousState,
                               ObjectState state)
Deprecated. 
Implements the widget-state specific look of the widget.

Overrides:
notifyStateChanged in class Widget
Parameters:
previousState - the previous state
state - the new state

setImage

public final void setImage(Image image)
Deprecated. 
Sets an image used in the list header.

Parameters:
image - the image

setLabel

public final void setLabel(String label)
Deprecated. 
Sets a label used in the list header.

Parameters:
label - the label

getHeader

public final Widget getHeader()
Deprecated. 
Returns a header widget.

Returns:
the header widget

getImageWidget

public final ImageWidget getImageWidget()
Deprecated. 
Returns an image widget in the header.

Returns:
the image widget

getLabelWidget

public final LabelWidget getLabelWidget()
Deprecated. 
Returns a label widget in the header.

Returns:
the label widget

org.netbeans.api.visual 2.2

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.