1   /****************************************************************************
2    **
3    ** This file is part of yFiles-2.9. 
4    ** 
5    ** yWorks proprietary/confidential. Use is subject to license terms.
6    **
7    ** Redistribution of this file or of an unauthorized byte-code version
8    ** of this file is strictly forbidden.
9    **
10   ** Copyright (c) 2000-2011 by yWorks GmbH, Vor dem Kreuzberg 28, 
11   ** 72070 Tuebingen, Germany. All rights reserved.
12   **
13   ***************************************************************************/
14  package demo.view.flowchart.painters;
15  
16  /**
17   * Constants for flowchart painters.
18   */
19  public interface FlowchartRealizerConstants {
20  
21    //Style properties used in several flowchart painters:
22    
23    public static final String PROPERTY_RADIUS = "com.yworks.flowchart.style.radius";
24    public static final String PROPERTY_INCLINATION = "com.yworks.flowchart.style.inclination";
25    public static final String PROPERTY_BORDER_DISTANCE = "com.yworks.flowchart.style.borderDistance";
26  
27    public static final String PROPERTY_ORIENTATION = "com.yworks.flowchart.style.orientation";
28    public static final byte PROPERTY_ORIENTATION_VALUE_AUTO = 0;
29    public static final byte PROPERTY_ORIENTATION_VALUE_DOWN = 1;
30    public static final byte PROPERTY_ORIENTATION_VALUE_RIGHT = 2;
31    public static final byte PROPERTY_ORIENTATION_VALUE_TOP = 3;
32    public static final byte PROPERTY_ORIENTATION_VALUE_LEFT = 4;
33  
34    //For Factory
35    public static final String FLOWCHART_PROCESS_CONFIG_NAME = "com.yworks.flowchart.process";
36    public static final String FLOWCHART_DIRECT_DATA_CONFIG_NAME = "com.yworks.flowchart.directData";
37    public static final String FLOWCHART_DATABASE_CONFIG_NAME = "com.yworks.flowchart.dataBase";
38    public static final String FLOWCHART_DECISION_CONFIG_NAME = "com.yworks.flowchart.decision";
39    public static final String FLOWCHART_DOCUMENT_CONFIG_NAME = "com.yworks.flowchart.document";
40    public static final String FLOWCHART_DATA_CONFIG_NAME = "com.yworks.flowchart.data";
41    public static final String FLOWCHART_START1_CONFIG_NAME = "com.yworks.flowchart.start1";
42    public static final String FLOWCHART_START2_CONFIG_NAME = "com.yworks.flowchart.start2";
43    public static final String FLOWCHART_PREDEFINED_PROCESS_CONFIG_NAME = "com.yworks.flowchart.predefinedProcess";
44    public static final String FLOWCHART_STORED_DATA_CONFIG_NAME = "com.yworks.flowchart.storedData";
45    public static final String FLOWCHART_INTERNAL_STORAGE_CONFIG_NAME = "com.yworks.flowchart.internalStorage";
46    public static final String FLOWCHART_SEQUENTIAL_DATA_CONFIG_NAME = "com.yworks.flowchart.sequentialData";
47    public static final String FLOWCHART_MANUAL_INPUT_CONFIG_NAME = "com.yworks.flowchart.manualInput";
48    public static final String FLOWCHART_CARD_CONFIG_NAME = "com.yworks.flowchart.card";
49    public static final String FLOWCHART_PAPER_TYPE_CONFIG_NAME = "com.yworks.flowchart.paperType";
50    public static final String FLOWCHART_CLOUD_TYPE_CONFIG_NAME = "com.yworks.flowchart.cloud";
51    public static final String FLOWCHART_DELAY_CONFIG_NAME = "com.yworks.flowchart.delay";
52    public static final String FLOWCHART_DISPLAY_CONFIG_NAME = "com.yworks.flowchart.display";
53    public static final String FLOWCHART_MANUAL_OPERATION_CONFIG_NAME = "com.yworks.flowchart.manualOperation";
54    public static final String FLOWCHART_PREPARATION_CONFIG_NAME = "com.yworks.flowchart.preparation";
55    public static final String FLOWCHART_LOOP_LIMIT_CONFIG_NAME = "com.yworks.flowchart.loopLimit";
56    public static final String FLOWCHART_LOOP_LIMIT_END_CONFIG_NAME = "com.yworks.flowchart.loopLimitEnd";
57    public static final String FLOWCHART_TERMINATOR_CONFIG_NAME = "com.yworks.flowchart.terminator";
58    public static final String FLOWCHART_ON_PAGE_REFERENCE_CONFIG_NAME = "com.yworks.flowchart.onPageReference";
59    public static final String FLOWCHART_OFF_PAGE_REFERENCE_CONFIG_NAME = "com.yworks.flowchart.offPageReference";
60    public static final String FLOWCHART_ANNOTATION_CONFIG_NAME = "com.yworks.flowchart.annotation";
61    public static final String FLOWCHART_USER_MESSAGE_CONFIG_NAME = "com.yworks.flowchart.userMessage";
62    public static final String FLOWCHART_NETWORK_MESSAGE_CONFIG_NAME = "com.yworks.flowchart.networkMessage";
63  
64    public static final double FLOWCHART_DEFAULT_DIRECT_DATA_RADIUS = 0.125;
65    public static final double FLOWCHART_DEFAULT_DOCUMENT_RADIUS = 0.125;
66    public static final double FLOWCHART_DEFAULT_DATA_INCLINATION = 0.255;
67    public static final double FLOWCHART_DEFAULT_PREDEFINED_PROCESS_BORDER_DISTANCE = 10;
68    public static final double FLOWCHART_DEFAULT_STORED_DATA_RADIUS = 0.125;
69    public static final double FLOWCHART_DEFAULT_INTERNAL_STORAGE_BORDER_DISTANCE = 10;
70    public static final double FLOWCHART_DEFAULT_MANUAL_INPUT_BORDER_DISTANCE = 10;
71    public static final double FLOWCHART_DEFAULT_CARD_BORDER_DISTANCE = 10;
72    public static final double FLOWCHART_DEFAULT_PAPER_TAPE_RADIUS = 0.125;
73    public static final double FLOWCHART_DEFAULT_DELAY_RADIUS = 0.125;
74    public static final double FLOWCHART_DEFAULT_DISPLAY_RADIUS = 0.125;
75    public static final double FLOWCHART_DEFAULT_MANUAL_OPERATION_BORDER_DISTANCE = 10;
76  
77    public static final double FLOWCHART_DEFAULT_MESSAGE_INCLINATION = 0.25;
78    public static final double FLOWCHART_DEFAULT_PREPARATION_INCLINATION = 0.25;
79  }
80