Codigo Java

Páginas: 4 (806 palabras) Publicado: 25 de julio de 2011
Method Summary |
“void” | add”(“String “item)“
Adds the specified item to the end of scrolling list. |
“void” | add”(“String “item, int index)“
Adds the specified item to the the scrolling listat the position indicated by the index. |
“void” | addActionListener”(“ActionListener “l)“
Adds the specified action listener to receive action events from this list. |
“void” | addItem”(“String“item)“
Deprecated. replaced by “add(String)”. |
“void” | addItem”(“String “item, int index)“
Deprecated. replaced by “add(String, int)”. |
“void” | addItemListener”(“ItemListener “l)“
Addsthe specified item listener to receive item events from this list. |
“void” | addNotify”()“
Creates the peer for the list. |
“boolean” | allowsMultipleSelections”()“
Deprecated. As of JDK version1.1, replaced by “isMultipleMode()”. |
“void” | clear”()“
Deprecated. As of JDK version 1.1, replaced by “removeAll()”. |
“int” | countItems”()“
Deprecated. As of JDK version 1.1, replaced by“getItemCount()”. |
“void” | delItem”(int position)“
Deprecated. replaced by “remove(String)” and “remove(int)”. |
“void” | delItems”(int start, int end)“
Deprecated. As of JDK version 1.1, Not forpublic use in the future. This method is expected to be retained only as a package private method. |
“void” | deselect”(int index)“
Deselects the item at the specified index. |
AccessibleContext| getAccessibleContext”()“
Gets the AccessibleContext associated with this List. |
String | getItem”(int index)“
Gets the item associated with the specified index. |
“int” | getItemCount”()“Gets the number of items in the list. |
String”[]” | getItems”()“
Gets the items in the list. |
EventListener”[]” | getListeners”(“Class “listenerType)“
Return an array of all the listeners thatwere added to the List with addXXXListener(), where XXX is the name of the “listenerType” argument. |
Dimension | getMinimumSize”()“
Determines the minimum size of this scrolling list. |...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Codigos De Java
  • codigo java
  • Codigo java
  • codigo java
  • Codigos java
  • Codigo java
  • Codigos Java
  • Comparación de codigo java

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS