home *** CD-ROM | disk | FTP | other *** search
- package webeq3.schema;
-
- import webeq3.app.Equation;
-
- public class LineBreakRewriter extends Box {
- Box lb_rewrite;
- boolean useLinearForm = false;
-
- public LineBreakRewriter(Box var1) {
- super(var1);
- }
-
- public LineBreakRewriter() {
- }
-
- public LineBreakRewriter(Equation var1) {
- super(var1);
- }
-
- public Box getDisplayChild(int var1) {
- return this.useLinearForm ? this.lb_rewrite : ((Box)this).getChild(var1);
- }
-
- public int getNumDisplayChildren() {
- return this.useLinearForm ? 1 : super.children.size();
- }
-
- public boolean isAtomic() {
- return this.useLinearForm ? this.lb_rewrite.isAtomic() : true;
- }
- }
-