⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 javax.swing.abstractbutton.xmi

📁 another swing example for java programmmer
💻 XMI
📖 第 1 页 / 共 2 页
字号:
  </objectsToAttach>
  <objectsToAttach xsi:type="ecore:EReference" name="margin" eType="org.eclipse.jem.java:JavaClass java:/java.awt#Insets" unsettable="true">
    <eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:PropertyDecorator" shortDescription="Margin space between button and label" expert="true" implicitlySetBits="6629298651489370172" implicitDecoratorFlag="IMPLICIT_DECORATOR_AND_FEATURE" bound="true" readMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.getMargin(" writeMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.setMargin(java.awt.Insets"/>
  </objectsToAttach>
  <objectsToAttach xsi:type="ecore:EReference" name="model" eType="org.eclipse.jem.java:JavaClass java:/javax.swing#ButtonModel" unsettable="true">
    <eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:PropertyDecorator" shortDescription="Model used by the button" expert="true" implicitlySetBits="6629298651489370172" implicitDecoratorFlag="IMPLICIT_DECORATOR_AND_FEATURE" bound="true" readMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.getModel(" writeMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.setModel(javax.swing.ButtonModel"/>
  </objectsToAttach>
  <objectsToAttach xsi:type="ecore:EReference" name="pressedIcon" eType="org.eclipse.jem.java:JavaClass java:/javax.swing#Icon" unsettable="true">
    <eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:PropertyDecorator" shortDescription="Icon used to display the pressed state" implicitlySetBits="6629298651489370172" implicitDecoratorFlag="IMPLICIT_DECORATOR_AND_FEATURE" bound="true" readMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.getPressedIcon(" writeMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.setPressedIcon(javax.swing.Icon"/>
  </objectsToAttach>
  <objectsToAttach xsi:type="ecore:EReference" name="rolloverEnabled" eType="org.eclipse.jem.java:JavaDataType java:/#boolean" unsettable="true">
    <eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:PropertyDecorator" shortDescription="Whether rollover effects are enabled" implicitlySetBits="6629298651489370172" implicitDecoratorFlag="IMPLICIT_DECORATOR_AND_FEATURE" bound="true" readMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.isRolloverEnabled(" writeMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.setRolloverEnabled(boolean"/>
  </objectsToAttach>
  <objectsToAttach xsi:type="ecore:EReference" name="rolloverIcon" eType="org.eclipse.jem.java:JavaClass java:/javax.swing#Icon" unsettable="true">
    <eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:PropertyDecorator" shortDescription="Icon to display the rollover state" implicitlySetBits="6629298651489370172" implicitDecoratorFlag="IMPLICIT_DECORATOR_AND_FEATURE" bound="true" readMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.getRolloverIcon(" writeMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.setRolloverIcon(javax.swing.Icon"/>
  </objectsToAttach>
  <objectsToAttach xsi:type="ecore:EReference" name="rolloverSelectedIcon" eType="org.eclipse.jem.java:JavaClass java:/javax.swing#Icon" unsettable="true">
    <eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:PropertyDecorator" shortDescription="Icon to display the rollover selected state" expert="true" implicitlySetBits="6629298651489370172" implicitDecoratorFlag="IMPLICIT_DECORATOR_AND_FEATURE" bound="true" readMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.getRolloverSelectedIcon(" writeMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.setRolloverSelectedIcon(javax.swing.Icon"/>
  </objectsToAttach>
  <objectsToAttach xsi:type="ecore:EReference" name="selected" eType="org.eclipse.jem.java:JavaDataType java:/#boolean" unsettable="true">
    <eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:PropertyDecorator" shortDescription="The state of the button" preferred="true" implicitlySetBits="6629298651489370172" implicitDecoratorFlag="IMPLICIT_DECORATOR_AND_FEATURE" readMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.isSelected(" writeMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.setSelected(boolean"/>
  </objectsToAttach>
  <objectsToAttach xsi:type="ecore:EReference" name="selectedIcon" eType="org.eclipse.jem.java:JavaClass java:/javax.swing#Icon" unsettable="true">
    <eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:PropertyDecorator" shortDescription="Icon to display the selected state" expert="true" implicitlySetBits="6629298651489370172" implicitDecoratorFlag="IMPLICIT_DECORATOR_AND_FEATURE" bound="true" readMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.getSelectedIcon(" writeMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.setSelectedIcon(javax.swing.Icon"/>
  </objectsToAttach>
  <objectsToAttach xsi:type="ecore:EReference" name="selectedObjects" eType="org.eclipse.jem.java:ArrayType java:/java.lang#Object[]" unsettable="true">
    <eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:PropertyDecorator" shortDescription="Array with selected item" expert="true" implicitlySetBits="6629298651489370228" implicitDecoratorFlag="IMPLICIT_DECORATOR_AND_FEATURE" designTime="false" readMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.getSelectedObjects("/>
  </objectsToAttach>
  <objectsToAttach xsi:type="ecore:EReference" name="text" eType="org.eclipse.jem.java:JavaClass java:/java.lang#String" unsettable="true">
    <eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:PropertyDecorator" shortDescription="Text displayed on the button" preferred="true" implicitlySetBits="6629298651489370172" implicitDecoratorFlag="IMPLICIT_DECORATOR_AND_FEATURE" bound="true" readMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.getText(" writeMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.setText(java.lang.String"/>
  </objectsToAttach>
  <objectsToAttach xsi:type="ecore:EReference" name="verticalAlignment" eType="org.eclipse.jem.java:JavaDataType java:/#int" unsettable="true">
    <eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:PropertyDecorator" shortDescription="Vertical alignment of icon and text in button" implicitlySetBits="6773413839565226044" implicitDecoratorFlag="IMPLICIT_DECORATOR_AND_FEATURE" bound="true" readMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.getVerticalAlignment(" writeMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.setVerticalAlignment(int">
      <attributes xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:FeatureAttributeMapEntry" key="enumerationValues" value="implicit,[9]{&quot;TOP&quot;,1,&quot;javax.swing.SwingConstants.TOP&quot;,&quot;CENTER&quot;,0,&quot;javax.swing.SwingConstants.CENTER&quot;,&quot;BOTTOM&quot;,3,&quot;javax.swing.SwingConstants.BOTTOM&quot;}"/>
    </eAnnotations>
  </objectsToAttach>
  <objectsToAttach xsi:type="ecore:EReference" name="verticalTextPosition" eType="org.eclipse.jem.java:JavaDataType java:/#int" unsettable="true">
    <eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:PropertyDecorator" shortDescription="Vertical position of text relative to the icon" implicitlySetBits="6773413839565226044" implicitDecoratorFlag="IMPLICIT_DECORATOR_AND_FEATURE" readMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.getVerticalTextPosition(" writeMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.setVerticalTextPosition(int">
      <attributes xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:FeatureAttributeMapEntry" key="enumerationValues" value="implicit,[9]{&quot;TOP&quot;,1,&quot;javax.swing.SwingConstants.TOP&quot;,&quot;CENTER&quot;,0,&quot;javax.swing.SwingConstants.CENTER&quot;,&quot;BOTTOM&quot;,3,&quot;javax.swing.SwingConstants.BOTTOM&quot;}"/>
    </eAnnotations>
  </objectsToAttach>
  <objectsToAttach xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:BeanEvent" name="change">
    <eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:EventSetDecorator" displayName="Change" shortDescription="All change events" implicitlySetBits="-2594073385365405571" implicitDecoratorFlag="IMPLICIT_DECORATOR_AND_FEATURE" inDefaultEventSet="true" addListenerMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.addChangeListener(javax.swing.event.ChangeListener" listenerType="org.eclipse.jem.java:JavaClass java:/javax.swing.event#ChangeListener" removeListenerMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.removeChangeListener(javax.swing.event.ChangeListener">
      <serListMthd xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:MethodProxy" name="stateChanged" method="org.eclipse.jem.java:Method java:/javax.swing.event#ChangeListener.stateChanged(javax.swing.event.ChangeEvent">
        <eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:MethodDecorator" shortDescription="Event fired when state has changed" implicitlySetBits="6629298651489370113">
          <serParmDesc xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:ParameterDecorator" implicitlySetBits="2017612633061982209" name="stateChangeEvent"/>
        </eAnnotations>
      </serListMthd>
    </eAnnotations>
  </objectsToAttach>
  <objectsToAttach xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:BeanEvent" name="item">
    <eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:EventSetDecorator" displayName="Item" shortDescription="All Item events" implicitlySetBits="-2594073385365405571" implicitDecoratorFlag="IMPLICIT_DECORATOR_AND_FEATURE" inDefaultEventSet="true" addListenerMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.addItemListener(java.awt.event.ItemListener" listenerType="org.eclipse.jem.java:JavaClass java:/java.awt.event#ItemListener" removeListenerMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.removeItemListener(java.awt.event.ItemListener">
      <serListMthd xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:MethodProxy" name="itemStateChanged" method="org.eclipse.jem.java:Method java:/java.awt.event#ItemListener.itemStateChanged(java.awt.event.ItemEvent">
        <eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:MethodDecorator" shortDescription="Event fired when the item state has changed" implicitlySetBits="6629298651489370113">
          <serParmDesc xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:ParameterDecorator" implicitlySetBits="2017612633061982209" name="itemEvent"/>
        </eAnnotations>
      </serListMthd>
    </eAnnotations>
  </objectsToAttach>
  <objectsToAttach xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:BeanEvent" name="action">
    <eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:EventSetDecorator" displayName="Action" shortDescription="All action events" preferred="true" implicitlySetBits="-2594073385365405571" implicitDecoratorFlag="IMPLICIT_DECORATOR_AND_FEATURE" inDefaultEventSet="true" addListenerMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.addActionListener(java.awt.event.ActionListener" listenerType="org.eclipse.jem.java:JavaClass java:/java.awt.event#ActionListener" removeListenerMethod="org.eclipse.jem.java:Method java:/javax.swing#AbstractButton.removeActionListener(java.awt.event.ActionListener">
      <serListMthd xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:MethodProxy" name="actionPerformed" method="org.eclipse.jem.java:Method java:/java.awt.event#ActionListener.actionPerformed(java.awt.event.ActionEvent">
        <eAnnotations xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:MethodDecorator" shortDescription="Event fired on clicking the button" preferred="true" implicitlySetBits="6629298651489370113">
          <serParmDesc xsi:type="org.eclipse.jem.internal.beaninfo.beaninfo:ParameterDecorator" implicitlySetBits="2017612633061982209" name="actionEvent"/>
        </eAnnotations>
      </serListMthd>
    </eAnnotations>
  </objectsToAttach>
</change:ChangeDescription>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -