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

📄 statuslinelayoutdata.java

📁 jfa2ce 源码帮助开发人员更好的理解运用
💻 JAVA
字号:
/******************************************************************************* * Copyright (c) 2000, 2005 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: *     IBM Corporation - initial API and implementation *******************************************************************************/package org.eclipse.jface.action;import org.eclipse.swt.SWT;/** * Represents the layout data object for <code>Control</code> within the status line. * To set a <code>StatusLineLayoutData</code> object into a <code>Control</code>, use * the <code>setLayoutData()</code> method.  * <p> * NOTE: Do not reuse <code>StatusLineLayoutData</code> objects. Every control in the * status line must have a unique <code>StatusLineLayoutData</code> instance or * <code>null</code>. * </p> *  * @since 2.1 */public class StatusLineLayoutData {    /**     * The <code>widthHint</code> specifies a minimum width for     * the <code>Control</code>. A value of <code>SWT.DEFAULT</code>     * indicates that no minimum width is specified.     *     * The default value is <code>SWT.DEFAULT</code>.     */    public int widthHint = SWT.DEFAULT;    /**     * The <code>heightHint</code> specifies a minimum height for     * the <code>Control</code>. A value of <code>SWT.DEFAULT</code>     * indicates that no minimum height is specified.     *     * The default value is <code>SWT.DEFAULT</code>.     */    public int heightHint = SWT.DEFAULT;    /**     * Creates an initial status line layout data object.     */    public StatusLineLayoutData() {        super();    }}

⌨️ 快捷键说明

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