?? north.java
字號:
/* North.java
{{IS_NOTE
Purpose:
Description:
History:
Aug 27, 2007 3:35:32 PM , Created by jumperchen
}}IS_NOTE
Copyright (C) 2007 Potix Corporation. All Rights Reserved.
{{IS_RIGHT
This program is distributed under GPL Version 2.0 in the hope that
it will be useful, but WITHOUT ANY WARRANTY.
}}IS_RIGHT
*/
package org.zkoss.zkex.zul;
/**
* This component is a north region. The default class of CSS is specified
* "layout-region-north".
*
* @author jumperchen
* @since 3.0.0
*/
public class North extends LayoutRegion {
public North() {
addSclass("layout-region-north");
}
/**
* Returns {@link Borderlayout#NORTH}.
*/
public String getPosition() {
return Borderlayout.NORTH;
}
/**
* The width can't be specified in this component because its width is
* determined by other region components ({@link West} or {@link East}).
*/
public void setWidth(String width) {
throw new UnsupportedOperationException("readonly");
}
/**
* Returns the size of this region. This method is shortcut for
* {@link #getHeight()}.
*/
public String getSize() {
return getHeight();
}
/**
* Sets the size of this region. This method is shortcut for
* {@link #setHeight(String)}.
*/
public void setSize(String size) {
setHeight(size);
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -