View Javadoc

1   /*
2    * $Id: IMarginCapability.java,v 1.18 2011/06/16 09:29:40 jbmeslin Exp $
3    * 
4    */
5   package org.rcfaces.core.component.capability;
6   
7   /**
8    * 
9    * @author Olivier Oeuillot (latest modification by $Author: jbmeslin $)
10   * @version $Revision: 1.18 $ $Date: 2011/06/16 09:29:40 $
11   */
12  public interface IMarginCapability {
13  
14      /**
15       * Returns a string value specifying the margin size for the component's top
16       * (compliant to CSS margin-top).
17       * 
18       * @return margin-top
19       */
20      String getMarginTop();
21  
22      /**
23       * Sets a string value specifying the margin size for the component's top
24       * (compliant to CSS margin-top).
25       * 
26       * @param marginTop
27       *            margin-top
28       */
29      void setMarginTop(String marginTop);
30  
31      /**
32       * Returns a string value specifying the margin size for the component's
33       * right (compliant to CSS margin-right).
34       * 
35       * @return margin-right
36       */
37      String getMarginRight();
38  
39      /**
40       * Sets a string value specifying the margin size for the component's right
41       * (compliant to CSS margin-right).
42       * 
43       * @param marginRight
44       *            margin-right
45       */
46      void setMarginRight(String marginRight);
47  
48      /**
49       * Returns a string value specifying the margin size for the component's
50       * bottom (compliant to CSS margin-bottom).
51       * 
52       * @return margin-bottom
53       */
54      String getMarginBottom();
55  
56      /**
57       * Sets a string value specifying the margin size for the component's bottom
58       * (compliant to CSS margin-bottom).
59       * 
60       * @param marginBottom
61       *            margin-bottom
62       */
63      void setMarginBottom(String marginBottom);
64  
65      /**
66       * Returns a string value specifying the margin size for the component's
67       * left (compliant to CSS margin-left).
68       * 
69       * @return margin-left
70       */
71      String getMarginLeft();
72  
73      /**
74       * Sets a string value specifying the margin size for the component's left
75       * (compliant to CSS margin-left).
76       * 
77       * @param marginLeft
78       *            margin-left
79       */
80      void setMarginLeft(String marginLeft);
81  }