?? brview.java
字號:
/* * @(#)BRView.java 1.11 04/03/05 * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package javax.swing.text.html;import javax.swing.text.*;/** * Processes the <BR> tag. In other words, forces a line break. * * @author Sunita Mani * @version 1.11 03/05/04 */class BRView extends InlineView { /** * Creates a new view that represents a <BR> element. * * @param elem the element to create a view for */ public BRView(Element elem) { super(elem); } /** * Forces a line break. * * @return View.ForcedBreakWeight */ public int getBreakWeight(int axis, float pos, float len) { if (axis == X_AXIS) { return ForcedBreakWeight; } else { return super.getBreakWeight(axis, pos, len); } }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -