1 17 18 package swingwtx.swing.text; 19 20 import swingwtx.swing.SwingConstants; 21 22 30 public abstract class View implements SwingConstants { 31 32 protected Document doc; 33 34 public View(Document doc) { this.doc = doc; } 35 36 public boolean isVisible() { return true; } 37 public float getAlignment(int axis) { return (float) 0.5; } 38 public int getViewCount() { return 0; } 39 public View getView(int n) { return null; } 40 41 } 42 | Popular Tags |