|
|
|
@ -13,12 +13,18 @@ import com.fr.report.poly.PolyECBlock;
|
|
|
|
|
*/ |
|
|
|
|
public abstract class PolyElementCasePane extends ElementCasePane<PolyECBlock> { |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 水平方向在一个屏幕内可见的可扩展的列数 |
|
|
|
|
*/ |
|
|
|
|
private static final int HORIZONTAL_EXTENT_VALUE = 200; |
|
|
|
|
|
|
|
|
|
public PolyElementCasePane(PolyECBlock block) { |
|
|
|
|
super(block); |
|
|
|
|
setSelection(new CellSelection(0, 0, 1, 1)); |
|
|
|
|
// 都不加这两个组件,当然他们也就没可见性了
|
|
|
|
|
setHorizontalScrollBarVisible(false); |
|
|
|
|
setVerticalScrollBarVisible(false); |
|
|
|
|
this.getGrid().setHorizontalExtent(HORIZONTAL_EXTENT_VALUE); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|