软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
java.awt.event |
用于处理不同类型的事件由AWT组件提供的接口和类发射。
|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.plaf.basic |
根据基本的外观和感觉提供内置的用户界面对象。
|
javax.swing.plaf.synth |
它是一个可更换皮肤的外观和感觉的绘画是授。
|
Modifier and Type | Class and Description |
---|---|
class |
AWTEventMulticaster
AWTEventMulticaster 实现高效的线程安全多播事件在
java.awt.event 包中定义的AWT事件调度。
|
protected class |
Component.AccessibleAWTComponent.AccessibleAWTComponentHandler
消防propertychange听众,如果注册,当显示/隐藏..
|
Modifier and Type | Field and Description |
---|---|
protected ComponentListener |
Component.AccessibleAWTComponent.accessibleAWTComponentHandler |
Modifier and Type | Method and Description |
---|---|
static ComponentListener |
AWTEventMulticaster.add(ComponentListener a, ComponentListener b)
增加了component-listener-a与component-listener-b并返回产生的组播侦听者。
|
ComponentListener[] |
Component.getComponentListeners()
返回在该组件上注册的所有组件侦听器的数组。
|
static ComponentListener |
AWTEventMulticaster.remove(ComponentListener l, ComponentListener oldl)
从component-listener-l除去旧的组件侦听器和返回产生的组播侦听者。
|
Modifier and Type | Method and Description |
---|---|
static ComponentListener |
AWTEventMulticaster.add(ComponentListener a, ComponentListener b)
增加了component-listener-a与component-listener-b并返回产生的组播侦听者。
|
void |
Component.addComponentListener(ComponentListener l)
添加指定的组件侦听器接收来自该组件的组件事件。
|
static ComponentListener |
AWTEventMulticaster.remove(ComponentListener l, ComponentListener oldl)
从component-listener-l除去旧的组件侦听器和返回产生的组播侦听者。
|
void |
Component.removeComponentListener(ComponentListener l)
移除指定的组件侦听器,以便它不再接收来自该组件的组件事件。
|
Modifier and Type | Class and Description |
---|---|
class |
ComponentAdapter
用于接收组件事件的抽象适配器类。
|
Modifier and Type | Class and Description |
---|---|
protected class |
JViewport.ViewListener
视图的侦听器。
|
Modifier and Type | Class and Description |
---|---|
protected class |
BasicInternalFrameUI.ComponentHandler |
class |
BasicSliderUI.ComponentHandler
调整大小事件监听器。
|
class |
BasicTreeUI.ComponentHandler
更新首选的大小,当滚动(如果必要的话)。
|
Modifier and Type | Field and Description |
---|---|
protected ComponentListener |
BasicInternalFrameUI.componentListener |
protected ComponentListener |
BasicSliderUI.componentListener |
Modifier and Type | Method and Description |
---|---|
protected ComponentListener |
BasicTreeUI.createComponentListener()
创建并返回一个新的componenthandler。
|
protected ComponentListener |
BasicInternalFrameUI.createComponentListener() |
protected ComponentListener |
BasicSliderUI.createComponentListener(JSlider slider) |
Modifier and Type | Method and Description |
---|---|
protected ComponentListener |
SynthInternalFrameUI.createComponentListener() |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.