l>O)K^Ko'K:#:0:;<4u LJLJ Hm֚1LoCKC&&0L=JcD&W!5BHZKEiDHH(E"&v3L=JFC&!qK vKoCKC&&FF=JEF&qK,,Lq1Lk 0LxVRRRRRbScSdSlSpSqSrStS&TFF=JEF&qK&V i.Ii.Ii.I&H"G"&}FF=JEF&qK&e<2L=J}oC&atK&oFF=JEF&qK,I0I|mHZ!"N&Lj 0L80L(j0l0P9Tyt KKJF&rFF=JEF&tK&FF=JEF&qK&FF=JEF&tK&}FF=JEF& tK]nLJbLJJIpZ&FF=JEF& tK& 0L=JC&XQ$&&FF=JEF&+`^$&=FF=JEF&,`_$&]FF=JEF&tK&pFF=JEF&-``$ujLJLJH8!"#$%&'*&FF=JEF&.`a$B)4L_4L_4L\8&'(>?@AE {+q1L4L2L, setContentPane(), setLayout(), setModal(), setUI(), setVisible(), show(), startDrag(), stopDrag(), swapDepths(), toBack(), toFront(), updateUI()

Inherited from Container

addTo(), append(), contains(), createChildMC(), destroy(), getComponent(), getComponentCount(), getLayout(), index(), insert(), invalidate(), remove(), removeAll(), removeAt(), validate()

Inherited from Component

attachMovieClip(), bringToBottomDepth(), bringToTopDepth(), componentToGlobal(), createMovieClip(), createTextField(), isTriggerEnabled(), isUseHandCursor(), isValid(), isVisible(), removeFromContainer(), repaint(), revalidate(), revalidateIfNecessary(), setAlignmentX(), setAlignmentY(), setBackground(), setBorder(), setBounds(), setClipMasked(), setEnabled(), setFocus(), setFocusable(), setFont(), setForeground(), setGlobalLocation(), setLocation(), setMaximumSize(), setMinimumSize(), setName(), setOpaque(), setPreferredSize(), setSize(), setToolTipText(), setTriggerEnabled(), setUIProperty(), setUseHandCursor(), toString()

Inherited from EventDispatcher

116 5.46% 8294 4.50% 28 0 0.00% 0 0.00% 0 0.00% 0 0.00% 0 0.00% 0 0.00% 29 0 0.00% 0 0.00% 0 0.00% 0 0.00% 0 0.00% 0 0.00% 30 351 2.56% 232 2.69% 188 2.79% 79 2.33% 68 3.20% 4633 2.51% 31 513 3.74% 347 4.03% 245 3.63% 147 4.33% 126 5.93% 6151 3.34%

Hourly usage for January 2005

Hourly Statistics for January 2005
Hour Hits Files Pages KBytes
Avg Total Avg Total Avg org.aswing.JList - AsWing alpha3

Class org.aswing.JList

Description

A component that allows the user to select one or more objects from a list. A separate model, ListModel, represents the contents of the list. It's easy to display an array objects, using a JList constructor that builds a ListModel instance for you:

 // Create a JList that displays the strings in data[]

 var data:Array = ["one", "two", "three", "four"];
 var dataList:JList = new JList(data);
 
 // The value of the JList model property is an object that provides
 // a read-only view of the data.  It was constructed automatically.

 for(int i = 0; i < dataList.getModel().getSize(); i++) {
     System.out.println(dataList.getModel().getElementAt(i));
 }

 // Create a JList that displays the values in a IVector--VectorListModel.

 var vec:VectorListModel = new VectorListModel(["one", "two", "three", "four"]);
 var vecList:JList = new JList(vec);
 
 //When you add elements to the vector, the JList will be automatically updated.
 vec.append("five");
 

JList doesn't support scrolling directly. To create a scrolling list you make the JList the viewport of a JScrollPane. For example:

 JScrollPane scrollPane = new JScrollPane(dataList);
 // Or in two steps:
 JScrollPane scrollPane = new JScrollPane();
 scrollPane.setView(dataList);
 

By default the JList selection model is SINGLE_SELECTION.

 String[] data = {"one", "two", "three", "four"};
 JList dataList = new JList(data);

 dataList.setSelectedIndex(1);  // select "two"
 dataList.getSelectedValue();   // returns "two"
 

The contents of a JList can be dynamic, in other words, the list elements can change value and the size of the list can change after the JList has been created. The JList observes changes in its model with a ListDataListener implementation. A correct implementation of TICI|mH.h,I.IDxI56 c2LJLJgfH123456789:;)K6K5.KbnLJaLJ,LF}Yrq\/\4L_4L_4L !RVij  I/IqHH!j#I8IIWENOP"*)KjKJav/I8IIWEQRT#*KI8IIWE(UVWXY$*&C 1L=JsAB&;}~E&\4L=JsAB&9~& LpK$BpK$B&thread.html9~&Z4L=JV$B&9~& ,L=JsAB&29~& V-L=JsAB&29~& *0L=JsAB&29~&. m2L=JsAB&9~&1L=J=&B&paqa:~& 1L=Jl$B&e:~D9KZKK^4LLJ&Cz LJEFD̆Tk)KZKCVWXYZ[\]^_oKKUKlD%nLJtLJ|HaNLJOLJG11MsNLJOLJG@11111111MlI8I6Hކ7*[>KKJ FKKJFc public ON_CLICKED:String">ON_CLICKED, ON_CREATED, ON_DESTROY, ON_HIDDEN, ON_KILLFOCUS, ON_MOVED, ON_PAINT, ON_PRESS, ON_RELEASE, ON_RELEASEOUTSIDE, ON_RESIZED, ON_ROLLOUT, ON_ROLLOVER, ON_SETFOCUS, ON_SHOWN, ON_STATE_CHANGED

Inherited from EventDispatcher

getOwnedWindowsWithOwner

static public function getOwnedWindowsWithOwner(owner:Object):Array

getOwnedWindowsWithOwner(owner:JWindow)
getOwnedWindowsWithOwner(owner:MovieClip)

Returns owned windows of the specifid owner.

Return

owned windows of the specifid owner.

doLayout

public function doLayout():Void

Description copied from Container

layout this container

Overrides

doLayout() in org.aswing.Container

getDepth

public function getDepth():Number

Returns the component's mc's depth

swapDepths

public function swapDepths(target):Void

Swap the component's mc's depth

startDrag

public function startDrag():Void

stopDrag

public function stopDrag():Void

__onChildPressed

public function __onChildPressed(child:Component):Void

Active and make this window to front.