Uses of Class
javax.swing.JButton
-
Packages that use JButton 软件包 描述 javax.swing 提供一套“轻量级”(全Java语言)组件,尽可能地在所有平台上工作。javax.swing.plaf 提供一个接口和许多抽象类,Swing用来提供其可插拔的外观和感觉功能。javax.swing.plaf.basic 提供根据“基本”外观构建的用户界面对象。javax.swing.plaf.metal 提供根据Java外观构建的用户界面对象(一旦代号为 Metal ),这是默认的外观和感觉。javax.swing.plaf.synth 合成是一种可以让所有绘画委托的外观和感觉。 -
-
Uses of JButton in javax.swing
Fields in javax.swing declared as JButton Modifier and Type Field 描述 protected JButton
JRootPane. defaultButton
当窗格具有焦点并且出现特定于UI的操作(如按 Enter键)时,该按钮将被激活。Methods in javax.swing that return JButton Modifier and Type 方法 描述 JButton
JToolBar. add(Action a)
添加一个新的JButton
它调度动作。protected JButton
JToolBar. createActionComponent(Action a)
工厂方法为Action
创建JButton
添加到JToolBar
。JButton
JRootPane. getDefaultButton()
返回defaultButton
属性的值。Methods in javax.swing with parameters of type JButton Modifier and Type 方法 描述 protected PropertyChangeListener
JToolBar. createActionChangeListener(JButton b)
返回一个正确配置的PropertyChangeListener
,如果希望控件的默认属性更改监听器,则更新控件作为Action
发生的更改,或null
。void
JRootPane. setDefaultButton(JButton defaultButton)
设置defaultButton
属性,其确定此JRootPane
的当前默认按钮。 -
Uses of JButton in javax.swing.plaf
Methods in javax.swing.plaf that return JButton Modifier and Type 方法 描述 JButton
FileChooserUI. getDefaultButton(JFileChooser fc)
返回当前LookAndFeel
默认按钮。 -
Uses of JButton in javax.swing.plaf.basic
Subclasses of JButton in javax.swing.plaf.basic Modifier and Type Class 描述 class
BasicArrowButton
JButton对象在其中一个主要方向上绘制了一个缩放的箭头。Fields in javax.swing.plaf.basic declared as JButton Modifier and Type Field 描述 protected JButton
BasicComboBoxUI. arrowButton
调用弹出窗口的箭头按钮。protected JButton
BasicInternalFrameTitlePane. closeButton
关闭按钮。protected JButton
BasicScrollBarUI. decrButton
递减按钮protected JButton
BasicInternalFrameTitlePane. iconButton
图标按钮。protected JButton
BasicScrollBarUI. incrButton
增量按钮protected JButton
BasicSplitPaneDivider. leftButton
用于快速切换左组件的按钮。protected JButton
BasicInternalFrameTitlePane. maxButton
最大化按钮。protected JButton
BasicSplitPaneDivider. rightButton
按钮快速切换正确的组件。Methods in javax.swing.plaf.basic that return JButton Modifier and Type 方法 描述 protected JButton
BasicComboBoxUI. createArrowButton()
创建一个按钮,该按钮将用作控件来显示或隐藏组合框的弹出窗口部分。protected JButton
BasicScrollBarUI. createDecreaseButton(int orientation)
创建减少按钮。protected JButton
BasicScrollBarUI. createIncreaseButton(int orientation)
创建一个增加按钮。protected JButton
BasicSplitPaneDivider. createLeftOneTouchButton()
创建并返回一个JButton
的实例,该实例可用于折叠拆分窗格中的左组件。protected JButton
BasicSplitPaneDivider. createRightOneTouchButton()
创建并返回可用于折叠拆分窗格中正确组件的JButton
实例。protected JButton
BasicTabbedPaneUI. createScrollButton(int direction)
创建并返回一个JButton,它将向用户提供一种在特定方向滚动选项卡的方法。protected JButton
BasicFileChooserUI. getApproveButton(JFileChooser fc)
返回批准按钮。JButton
BasicFileChooserUI. getDefaultButton(JFileChooser fc)
返回当前LookAndFeel
默认按钮。 -
Uses of JButton in javax.swing.plaf.metal
Subclasses of JButton in javax.swing.plaf.metal Modifier and Type Class 描述 class
MetalComboBoxButton
JButton子类来帮助MetalComboBoxUIclass
MetalScrollButton
金属滚动条箭头的JButton对象。Methods in javax.swing.plaf.metal that return JButton Modifier and Type 方法 描述 protected JButton
MetalComboBoxUI. createArrowButton()
protected JButton
MetalScrollBarUI. createDecreaseButton(int orientation)
返回表示减少视图的视图。protected JButton
MetalScrollBarUI. createIncreaseButton(int orientation)
返回表示增加视图的视图。protected JButton
MetalFileChooserUI. getApproveButton(JFileChooser fc)
-
Uses of JButton in javax.swing.plaf.synth
Methods in javax.swing.plaf.synth that return JButton Modifier and Type 方法 描述 protected JButton
SynthComboBoxUI. createArrowButton()
创建一个按钮,该按钮将用作控件来显示或隐藏组合框的弹出窗口部分。protected JButton
SynthScrollBarUI. createDecreaseButton(int orientation)
创建减少按钮。protected JButton
SynthScrollBarUI. createIncreaseButton(int orientation)
创建一个增加按钮。protected JButton
SynthTabbedPaneUI. createScrollButton(int direction)
Creates and returns a JButton that will provide the user with a way to scroll the tabs in a particular direction.
-