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

📄 synthradiobuttonui.java

📁 Mobile 应用程序使用 Java Micro Edition (Java ME) 平台
💻 JAVA
字号:
/* * @(#)SynthRadioButtonUI.java	1.9 05/11/17 * * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package javax.swing.plaf.synth;import java.awt.*;import java.awt.event.*;import javax.swing.*;import javax.swing.border.*;import javax.swing.plaf.*;import javax.swing.text.View;/** * Synth's RadioButtonUI. * * @version 1.9, 11/17/05 * @author Jeff Dinkins */class SynthRadioButtonUI extends SynthToggleButtonUI {    // ********************************    //        Create PLAF     // ********************************    public static ComponentUI createUI(JComponent b) {        return new SynthRadioButtonUI();    }    protected String getPropertyPrefix() {        return "RadioButton.";    }    /**     * Returns the Icon used in calculating the pref/min/max size.     */    protected Icon getSizingIcon(AbstractButton b) {        return getIcon(b);    }    void paintBackground(SynthContext context, Graphics g, JComponent c) {        context.getPainter().paintRadioButtonBackground(context, g, 0, 0,                                                c.getWidth(), c.getHeight());    }    public void paintBorder(SynthContext context, Graphics g, int x,                            int y, int w, int h) {        context.getPainter().paintRadioButtonBorder(context, g, x, y, w, h);    }}

⌨️ 快捷键说明

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