| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| LayoutStage |
|
| 0.0;0 |
| 1 | /* | |
| 2 | * Copyright 2002 - 2007 JEuclid, http://jeuclid.sf.net | |
| 3 | * | |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); | |
| 5 | * you may not use this file except in compliance with the License. | |
| 6 | * You may obtain a copy of the License at | |
| 7 | * | |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 | |
| 9 | * | |
| 10 | * Unless required by applicable law or agreed to in writing, software | |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, | |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 13 | * See the License for the specific language governing permissions and | |
| 14 | * limitations under the License. | |
| 15 | */ | |
| 16 | ||
| 17 | /* $Id: LayoutStage.java,v 686a662dbcbe 2009/01/28 09:11:26 maxberger $ */ | |
| 18 | ||
| 19 | package net.sourceforge.jeuclid.layout; | |
| 20 | ||
| 21 | /** | |
| 22 | * Defines in what stage the current layout it. | |
| 23 | * <p> | |
| 24 | * The Stages are {@link #NONE}, {@link #STAGE1}, and {@link #STAGE2}. | |
| 25 | * | |
| 26 | * @version $Revision: 686a662dbcbe $ | |
| 27 | */ | |
| 28 | 836 | public enum LayoutStage { |
| 29 | /** | |
| 30 | * No layout done yet. | |
| 31 | * <p> | |
| 32 | * The {@link LayoutInfo} will not contain any useful information. | |
| 33 | */ | |
| 34 | 209 | NONE, |
| 35 | /** | |
| 36 | * Context-Insensitive Layout. | |
| 37 | * <p> | |
| 38 | * A Node in this stage has been layouted based on its own information and | |
| 39 | * on the information of its children. The {@link LayoutInfo} is useful to | |
| 40 | * do calculations such as stretching of parentheses. | |
| 41 | */ | |
| 42 | 209 | STAGE1, |
| 43 | /** | |
| 44 | * Full layout. | |
| 45 | * <p> | |
| 46 | * A node in this stage has been fully layouted, the {@link LayoutInfo} is | |
| 47 | * current and final. | |
| 48 | */ | |
| 49 | 209 | STAGE2, |
| 50 | } |