📄 javax.swing.jlist.xmi
字号:
</eAnnotations>
</objectsToAttach>
<objectsToAttach xsi:type="ecore:EReference" name="selectedIndex" eType="org.eclipse.jem.java:JavaDataType java:/#int" unsettable="true">
<eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:PropertyDecorator" shortDescription="Index of the first selected item" preferred="true" implicitlySetBits="6629298651489370172" implicitDecoratorFlag="IMPLICIT_DECORATOR_AND_FEATURE" readMethod="org.eclipse.jem.java:Method java:/javax.swing#JList.getSelectedIndex(" writeMethod="org.eclipse.jem.java:Method java:/javax.swing#JList.setSelectedIndex(int"/>
</objectsToAttach>
<objectsToAttach xsi:type="ecore:EReference" name="selectedIndices" eType="org.eclipse.jem.java:ArrayType java:/#int[]" unsettable="true">
<eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:PropertyDecorator" shortDescription="Array of selected cell indices" expert="true" implicitlySetBits="6629298651489370236" implicitDecoratorFlag="IMPLICIT_DECORATOR_AND_FEATURE" designTime="false" readMethod="org.eclipse.jem.java:Method java:/javax.swing#JList.getSelectedIndices(" writeMethod="org.eclipse.jem.java:Method java:/javax.swing#JList.setSelectedIndices(int[]"/>
</objectsToAttach>
<objectsToAttach xsi:type="ecore:EReference" name="selectedValue" eType="org.eclipse.jem.java:JavaClass java:/java.lang#Object" unsettable="true">
<eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:PropertyDecorator" shortDescription="Get the value selected in the list" preferred="true" implicitlySetBits="6629298651489370164" implicitDecoratorFlag="IMPLICIT_DECORATOR_AND_FEATURE" readMethod="org.eclipse.jem.java:Method java:/javax.swing#JList.getSelectedValue("/>
</objectsToAttach>
<objectsToAttach xsi:type="ecore:EReference" name="selectionBackground" eType="org.eclipse.jem.java:JavaClass java:/java.awt#Color" unsettable="true">
<eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:PropertyDecorator" shortDescription="The background color of selected cells" expert="true" implicitlySetBits="6629298651489370172" implicitDecoratorFlag="IMPLICIT_DECORATOR_AND_FEATURE" bound="true" readMethod="org.eclipse.jem.java:Method java:/javax.swing#JList.getSelectionBackground(" writeMethod="org.eclipse.jem.java:Method java:/javax.swing#JList.setSelectionBackground(java.awt.Color"/>
</objectsToAttach>
<objectsToAttach xsi:type="ecore:EReference" name="selectionEmpty" eType="org.eclipse.jem.java:JavaDataType java:/#boolean" unsettable="true">
<eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:PropertyDecorator" shortDescription="TRUE if nothing is selected" expert="true" implicitlySetBits="6629298651489370164" implicitDecoratorFlag="IMPLICIT_DECORATOR_AND_FEATURE" readMethod="org.eclipse.jem.java:Method java:/javax.swing#JList.isSelectionEmpty("/>
</objectsToAttach>
<objectsToAttach xsi:type="ecore:EReference" name="selectionForeground" eType="org.eclipse.jem.java:JavaClass java:/java.awt#Color" unsettable="true">
<eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:PropertyDecorator" shortDescription="The foreground color of selected cells" expert="true" implicitlySetBits="6629298651489370172" implicitDecoratorFlag="IMPLICIT_DECORATOR_AND_FEATURE" bound="true" readMethod="org.eclipse.jem.java:Method java:/javax.swing#JList.getSelectionForeground(" writeMethod="org.eclipse.jem.java:Method java:/javax.swing#JList.setSelectionForeground(java.awt.Color"/>
</objectsToAttach>
<objectsToAttach xsi:type="ecore:EReference" name="selectionMode" eType="org.eclipse.jem.java:JavaDataType java:/#int" unsettable="true">
<eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:PropertyDecorator" shortDescription="The mode representing how selections are allowed" implicitlySetBits="6773413839565226044" implicitDecoratorFlag="IMPLICIT_DECORATOR_AND_FEATURE" readMethod="org.eclipse.jem.java:Method java:/javax.swing#JList.getSelectionMode(" writeMethod="org.eclipse.jem.java:Method java:/javax.swing#JList.setSelectionMode(int">
<attributes xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:FeatureAttributeMapEntry" key="enumerationValues" value="implicit,[9]{"SINGLE",0,"javax.swing.ListSelectionModel.SINGLE_SELECTION","SINGLE_INTERVAL",1,"javax.swing.ListSelectionModel.SINGLE_INTERVAL_SELECTION","MULTIPLE_INTERVAL",2,"javax.swing.ListSelectionModel.MULTIPLE_INTERVAL_SELECTION"}"/>
</eAnnotations>
</objectsToAttach>
<objectsToAttach xsi:type="ecore:EReference" name="selectionModel" eType="org.eclipse.jem.java:JavaClass java:/javax.swing#ListSelectionModel" unsettable="true">
<eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:PropertyDecorator" shortDescription="The model handling the list selection" expert="true" implicitlySetBits="6629298651489370172" implicitDecoratorFlag="IMPLICIT_DECORATOR_AND_FEATURE" bound="true" readMethod="org.eclipse.jem.java:Method java:/javax.swing#JList.getSelectionModel(" writeMethod="org.eclipse.jem.java:Method java:/javax.swing#JList.setSelectionModel(javax.swing.ListSelectionModel"/>
</objectsToAttach>
<objectsToAttach xsi:type="ecore:EReference" name="valueIsAdjusting" eType="org.eclipse.jem.java:JavaDataType java:/#boolean" unsettable="true">
<eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:PropertyDecorator" shortDescription="Whether a single event will be generated when all of the selection events have finished" expert="true" implicitlySetBits="6629298651489370172" implicitDecoratorFlag="IMPLICIT_DECORATOR_AND_FEATURE" readMethod="org.eclipse.jem.java:Method java:/javax.swing#JList.getValueIsAdjusting(" writeMethod="org.eclipse.jem.java:Method java:/javax.swing#JList.setValueIsAdjusting(boolean"/>
</objectsToAttach>
<objectsToAttach xsi:type="ecore:EReference" name="visibleRowCount" eType="org.eclipse.jem.java:JavaDataType java:/#int" unsettable="true">
<eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:PropertyDecorator" shortDescription="Preferred number of rows to display" implicitlySetBits="6629298651489370172" implicitDecoratorFlag="IMPLICIT_DECORATOR_AND_FEATURE" bound="true" readMethod="org.eclipse.jem.java:Method java:/javax.swing#JList.getVisibleRowCount(" writeMethod="org.eclipse.jem.java:Method java:/javax.swing#JList.setVisibleRowCount(int"/>
</objectsToAttach>
<objectsToAttach xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:BeanEvent" name="listSelection">
<eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:EventSetDecorator" displayName="List Selection" shortDescription="All list selection events" implicitlySetBits="-2594073385365405571" implicitDecoratorFlag="IMPLICIT_DECORATOR_AND_FEATURE" inDefaultEventSet="true" addListenerMethod="org.eclipse.jem.java:Method java:/javax.swing#JList.addListSelectionListener(javax.swing.event.ListSelectionListener" listenerType="org.eclipse.jem.java:JavaClass java:/javax.swing.event#ListSelectionListener" removeListenerMethod="org.eclipse.jem.java:Method java:/javax.swing#JList.removeListSelectionListener(javax.swing.event.ListSelectionListener">
<serListMthd xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:MethodProxy" name="valueChanged" method="org.eclipse.jem.java:Method java:/javax.swing.event#ListSelectionListener.valueChanged(javax.swing.event.ListSelectionEvent">
<eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:MethodDecorator" shortDescription="Event fired when the list selection has changed" preferred="true" implicitlySetBits="6629298651489370113">
<serParmDesc xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:ParameterDecorator" displayName="listSelectionEvent" implicitlySetBits="-7205759403792793599" name="event"/>
</eAnnotations>
</serListMthd>
</eAnnotations>
</objectsToAttach>
</change:ChangeDescription>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -