001: /*
002: * JFolder, Copyright 2001-2006 Gary Steinmetz
003: *
004: * Distributable under LGPL license.
005: * See terms of license at gnu.org.
006: */
007:
008: package org.jfolder.console.config;
009:
010: //base classes
011: import java.util.HashMap;
012:
013: //project specific classes
014: import org.jfolder.common.tagging.ConceptTag;
015:
016: //other classes
017:
018: public interface ConsoleConfig {
019:
020: //
021: public boolean isMainPropertyPresent(String inName);
022:
023: public String getMainProperty(String inName);
024:
025: public int getMainPropertyIndex(String inName);
026:
027: public int getMainWidth();
028:
029: //
030: public boolean isLeftSectionPanePropertyPresent(int inIndex,
031: String inName);
032:
033: public String getLeftSectionPaneProperty(int inIndex, String inName);
034:
035: public int getLeftSectionPanePropertyIndex(int inIndex,
036: String inName);
037:
038: //
039: public boolean isCenterSectionPanePropertyPresent(int inIndex,
040: String inName);
041:
042: public String getCenterSectionPaneProperty(int inIndex,
043: String inName);
044:
045: public int getCenterSectionPanePropertyIndex(int inIndex,
046: String inName);
047:
048: //
049: public boolean isRightSectionPanePropertyPresent(int inIndex,
050: String inName);
051:
052: public String getRightSectionPaneProperty(int inIndex, String inName);
053:
054: public int getRightSectionPanePropertyIndex(int inIndex,
055: String inName);
056:
057: //
058: public int getLeftSectionPaneCount();
059:
060: public int getCenterSectionPaneCount();
061:
062: public int getRightSectionPaneCount();
063:
064: //
065: public int getMainPropertyCount();
066:
067: public String getMainPropertyName(int inIndex);
068:
069: public String getMainPropertyValue(int inIndex);
070:
071: public void removeMainProperty(int inIndex);
072:
073: public void addMainProperty(int inIndex, String inName,
074: String inValue);
075:
076: //
077: //
078: //
079: public String getLeftSectionPaneContext(int inIndex);
080:
081: public void addLeftSectionPane(int inIndex, String inContext);
082:
083: public void removeLeftSectionPane(int inIndex);
084:
085: //
086: public int getLeftSectionPanePropertyCount(int inIndex);
087:
088: public String getLeftSectionPanePropertyName(int inIndex,
089: int inSubIndex);
090:
091: public String getLeftSectionPanePropertyValue(int inIndex,
092: int inSubIndex);
093:
094: public void removeLeftSectionPaneProperty(int inIndex,
095: int inSubIndex);
096:
097: public void addLeftSectionPaneProperty(int inIndex, int inSubIndex,
098: String inName, String inValue);
099:
100: //
101: //
102: //
103: public String getCenterSectionPaneContext(int inIndex);
104:
105: public void addCenterSectionPane(int inIndex, String inContext);
106:
107: public void removeCenterSectionPane(int inIndex);
108:
109: //
110: public int getCenterSectionPanePropertyCount(int inIndex);
111:
112: public String getCenterSectionPanePropertyName(int inIndex,
113: int inSubIndex);
114:
115: public String getCenterSectionPanePropertyValue(int inIndex,
116: int inSubIndex);
117:
118: public void removeCenterSectionPaneProperty(int inIndex,
119: int inSubIndex);
120:
121: public void addCenterSectionPaneProperty(int inIndex,
122: int inSubIndex, String inName, String inValue);
123:
124: //
125: //
126: //
127: public String getRightSectionPaneContext(int inIndex);
128:
129: public void addRightSectionPane(int inIndex, String inContext);
130:
131: public void removeRightSectionPane(int inIndex);
132:
133: //
134: public int getRightSectionPanePropertyCount(int inIndex);
135:
136: public String getRightSectionPanePropertyName(int inIndex,
137: int inSubIndex);
138:
139: public String getRightSectionPanePropertyValue(int inIndex,
140: int inSubIndex);
141:
142: public void removeRightSectionPaneProperty(int inIndex,
143: int inSubIndex);
144:
145: public void addRightSectionPaneProperty(int inIndex,
146: int inSubIndex, String inName, String inValue);
147:
148: //
149: //public void renderContent(ConsolePageContext inCpc);
150: //
151: //
152: //
153: //
154: //
155: }
|