Revision 229

View differences:

org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.swing/org.gvsig.tools.swing.api/src/main/java/org/gvsig/tools/swing/api/dynobject/DynObjectSwingManager.java
32 32
/**
33 33
 * Manager for DynObject related Swing components.
34 34
 * 
35
 * @author 2010- C?sar Ordi?ana - gvSIG team
35
 * @author gvSIG team
36 36
 */
37
public interface DynObjectSwingManager extends Manager{
37
public interface DynObjectSwingManager extends Manager {
38 38

  
39 39
	/** Full DynObject visualization or editing form mode. */
40 40
	public static final String MODE_FORM = "form";
......
47 47
	 * @param dynClass
48 48
	 *            with the value to render
49 49
	 * @return the component
50
	 * @throws ServiceException 
50
	 * @throws ServiceException
51 51
	 */
52
	public DynObjectModel createDynObjectModel(DynClass dynClass) throws ServiceException;
52
	public DynObjectModel createDynObjectModel(DynClass dynClass)
53
			throws ServiceException;
53 54

  
54 55
	/**
55 56
	 * Creates a {@link JDynFieldComponent} to render a {@link DynObject} field.
......
57 58
	 * @param dynClass
58 59
	 *            with the value to render
59 60
	 * @return the component
60
	 * @throws ServiceException 
61
	 * @throws ServiceException
61 62
	 */
62
	public DynObjectModel createEmptyDynObjectModel(DynClass dynClass) throws ServiceException;
63
	public DynObjectModel createEmptyDynObjectModel(DynClass dynClass)
64
			throws ServiceException;
63 65

  
64 66
	/**
65 67
	 * Creates a {@link JDynFieldComponent} to render a {@link DynObject} field.
......
69 71
	 * @param dynObject
70 72
	 *            with the value to render
71 73
	 * @return the component
72
	 * @throws ServiceException 
74
	 * @throws ServiceException
73 75
	 */
74
	public JDynFieldComponent createJDynFieldComponent(ValueField valueItem, DynField field) throws ServiceException;
76
	public JDynFieldComponent createJDynFieldComponent(ValueField valueItem,
77
			DynField field) throws ServiceException;
75 78

  
76 79
	/**
77 80
	 * Creates a {@link JDynObjectComponent} for a {@link DynObject} in the
......
80 83
	 * @param dynObject
81 84
	 *            to create the component for
82 85
	 * @return a {@link JDynObjectComponent}
83
	 * @throws ServiceException 
86
	 * @throws ServiceException
84 87
	 */
85
	public JDynObjectComponent createJDynObjectComponent(DynObject dynObject) throws ServiceException;
88
	public JDynObjectComponent createJDynObjectComponent(DynObject dynObject)
89
			throws ServiceException;
86 90

  
87
//	/**
88
//	 * Registers a factory to create {@link JDynFieldComponent} for a data type.
89
//	 * 
90
//	 * @param factory
91
//	 *            to create {@link JDynFieldComponent} objects
92
//	 * @param dataType
93
//	 *            to create the components for
94
//	 */
95
//	public void registerDynFieldComponentFactory(DynFieldComponentFactory factory,
96
//			int dataType);
97

  
98 91
	/**
99 92
	 * Creates a {@link JDynObjectComponent} for a {@link DynObject}.
100 93
	 * 
......
102 95
	 *            to create the component for
103 96
	 * @param mode
104 97
	 * @return a {@link JDynObjectComponent}
105
	 * @throws ServiceException 
98
	 * @throws ServiceException
106 99
	 */
107 100
	public JDynObjectComponent createJDynObjectComponent(DynObject dynObject,
108 101
			DynObjectModel model) throws ServiceException;
109
	
110
	
102

  
111 103
	/**
112 104
	 * Creates a {@link JDynObjectComponent} for a {@link DynObject}.
113 105
	 * 
......
115 107
	 *            to create the component for
116 108
	 * @param mode
117 109
	 * @return a {@link JDynObjectComponent}
118
	 * @throws ServiceException 
110
	 * @throws ServiceException
119 111
	 */
120 112
	public JDynObjectComponent createJDynObjectComponent(DynObject dynObject,
121 113
			DynObjectModel model, String mode) throws ServiceException;
......
127 119
	 *            to create the component for
128 120
	 * @param mode
129 121
	 * @return a {@link JDynObjectComponent}
130
	 * @throws ServiceException 
122
	 * @throws ServiceException
131 123
	 */
132 124
	public JDynObjectComponent createJDynObjectComponent(DynObject dynObject,
133 125
			String mode) throws ServiceException;

Also available in: Unified diff