chatroombutton.java.svn-base
来自「开源项目openfire的完整源程序」· SVN-BASE 代码 · 共 67 行
SVN-BASE
67 行
/** * $Revision: $ * $Date: $ * * Copyright (C) 2006 Jive Software. All rights reserved. * * This software is published under the terms of the GNU Lesser Public License (LGPL), * a copy of which is included in this distribution. */package org.jivesoftware.spark.ui;import org.jivesoftware.spark.component.RolloverButton;import javax.swing.Icon;import javax.swing.JButton;import java.awt.Insets;import java.awt.event.MouseAdapter;import java.awt.event.MouseEvent;/** * Button to use with ChatRooms to allow for conformity in the Chat Room look and feel. */public class ChatRoomButton extends RolloverButton { /** * Create a new ChatRoomButton. */ public ChatRoomButton() { } /** * Create a new ChatRoomButton * * @param icon the icon to use on the button. */ public ChatRoomButton(Icon icon) { super(icon); } /** * Create a new ChatRoomButton. * * @param text the button text. * @param icon the button icon. */ public ChatRoomButton(String text, Icon icon) { super(text, icon); } /** * Creates a new ChatRoomButton. * * @param text the text to display on the button. */ public ChatRoomButton(String text) { super(text); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?