📄 zcell.java
字号:
/*
* Copyright 2002 EZCell , Inc. All rights reserved.
* Version 1.0.
* Author W.John
*/
/*
* put your module comment here
* formatted with JxBeauty (c) johann.langhofer@nextra.at
*/
package ezcell;
/**
* <p>Title: </p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2001</p>
* <p>Company: </p>
* @author unascribed
* @version 1.0
*/
public interface ZCell {
/**
*
* @return
*/
public ZBrush getBackBrush();
/**
*
* @return
*/
public boolean isChild();
/**
*
* @return
*/
public int getCol();
/**
*
* @param cookie
*/
public void setCookie(int cookie);
/**
*
* @return
*/
public int getCookie();
/**
*
* @return
*/
public ZFont getFont();
/**
*
* @return
*/
public String getFormat();
/**
*
* @return
*/
public boolean isHead();
/**
*
* @return
*/
public int getHeight();
/**
*
* @return
*/
public int getHorzAlign();
/**
*
* @return
*/
public ZPen getLeftBorder0();
/**
*
* @return
*
* @throws Exception
*/
public ZCell getParent() throws Exception;
/**
*
* @return
*/
public boolean isParent();
/**
*
* @return
*/
public boolean isReadOnly();
/**
*
* @return
*/
public int getRow();
/**
*
* @return
*/
public ZDefaultSheet getSheet();
/**
*
* @return
*/
public ZRect getSpan();
/**
*
* @return
*/
public String getText();
/**
*
* @return
*/
public ZBrush getTextBrush();
/**
*
* @return
*/
public ZPen getTopBorder0();
/**
*
* @return
*/
public int getVertAlign();
/**
*
* @return
*/
public int getWidth();
/**
*
* @return
*/
public boolean isWordWrap();
/**
*
* @param sheet
* @param row
* @param col
*
* @return
*/
public ZCell clone(ZSheet sheet, int row, int col);
}
abstract class ZAbstractCell implements ZCell {
/**
*
* @return
*/
public ZBrush getBackBrush() {
return null;
}
/**
*
* @return
*/
public boolean isChild() {
return false;
}
/**
*
* @return
*/
public ZFont getFont() {
return null;
}
/**
*
* @return
*/
public String getFormat() {
return null;
}
/**
*
* @return
*/
public boolean isHead() {
return (getRow() == 0) || (getCol() == 0);
}
/**
*
* @return
*/
public int getHorzAlign() {
return ZBase.LEFT;
}
/**
*
* @return
*/
public ZPen getLeftBorder0() {
return null;
}
/**
*
* @return
*
* @throws Exception
*/
public ZCell getParent() throws Exception {
return null;
}
/**
*
* @return
*/
public boolean isParent() {
return false;
}
/**
*
* @return
*/
public boolean isReadOnly() {
return false;
}
/**
*
* @return
*/
public ZRect getSpan() {
return null;
}
/**
*
* @return
*/
public String getText() {
return null;
}
/**
*
* @return
*/
public ZBrush getTextBrush() {
return null;
}
/**
*
* @return
*/
public ZPen getTopBorder0() {
return null;
}
/**
*
* @return
*/
public int getVertAlign() {
return ZBase.YCENTER;
}
/**
*
* @param sheet
* @param row
* @param col
*
* @return
*/
public ZCell clone(ZSheet sheet, int row, int col) {
return null;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -