Method getSelectedValue()
Return type: java.lang.Object
Member of: javax.swing.JList
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 new StringSelection((String) getSelectedValue()), this);
2 return (this.getSelectedValue().toString());
3 listData.removeElement(methodsList.getSelectedValue());
4 layout.show(cards, (String)list.getSelectedValue());
5 String colname = (String) selectedList.getSelectedValue();
6 Object selPers = _persList.getSelectedValue();
7 Object selPers = _persList.getSelectedValue();
8 current_class = classNamesJList.getSelectedValue().toString();
9 value = connectionList.getSelectedValue();
10 String selectedItem = (String) getSelectedValue();
11 String fs = fontSize.getSelectedValue().toString();
12 selectedFile = (String) fileList.getSelectedValue();
13 SqlFragment sqlFragment = (SqlFragment) this.attributeListView.getSelectedValue();
14 String selectedType=(String)types.getSelectedValue();
15 else return (String)mDecoderList.getSelectedValue();
16 s = (ServiceDefinition) lstServices.getSelectedValue();
17 Object object = listBox.getSelectedValue();
18 CodeCompletionConfig config = (CodeCompletionConfig) list.getSelectedValue();
19 } else if (nodeList.getSelectedValue() == null) {
20 Process p = (Process)processList.getSelectedValue();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.