horizontalscrollbarpolicyitems.java

来自「SWING的界面UI包 SWING的界面UI包」· Java 代码 · 共 35 行

JAVA
35
字号
/* * HorizontalAlignmentWrapper.java * * Created on 2007-8-19, 16:48:45 * * To change this template, choose Tools | Templates * and open the template in the editor. */package dyno.swing.designer.properties.items;import dyno.swing.designer.properties.wrappers.*;import dyno.swing.designer.properties.types.Item;import javax.swing.ScrollPaneConstants;/** * * @author William Chen */public class HorizontalScrollBarPolicyItems implements ItemProvider {    private static Item[] VALUE_ITEMS = {        new Item("AS_NEEDED", ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED, "javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED"),         new Item("NEVER", ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER, "javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER"),         new Item("ALWAYS", ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS, "javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS")    };    public HorizontalScrollBarPolicyItems() {    }    @Override    public Item[] getItems() {        return VALUE_ITEMS;    }}

⌨️ 快捷键说明

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