Revision 272 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/usability/UsabilitySwingManager.java

View differences:

UsabilitySwingManager.java
41 41
    /**
42 42
     * Creates a button with no set text or icon.
43 43
     * 
44
     * @return a button
44
     * @return a button.
45 45
     */
46 46
    JButton createJButton();
47 47

  
......
50 50
     * supplied.
51 51
     * 
52 52
     * @param action
53
     *            the {@link Action} used to specify the new button
53
     *            the {@link Action} used to specify the new button.
54 54
     * 
55 55
     */
56 56
    JButton createJButton(Action action);
57 57

  
58
    //
59
    // /**
60
    // * @param component1
61
    // * @param component2
62
    // * @param marginLeft
63
    // * @param marginRight
64
    // * @param button
65
    // * @return
66
    // */
67
    // public JPanel createGridBagRowPanel(JPanel gridBagPanel, Component
68
    // labelComponent,
69
    // Component fieldLabel,
70
    // Integer marginLeft, Integer marginRight);
71
    //
72
    // /**
73
    // * @param panel
74
    // * @param component1
75
    // * @param component2
76
    // * @param marginLeft
77
    // * @param marginRight
78
    // * @return
79
    // */
80
    // JPanel createBoxRowPanel(JPanel panel, Component component1,
81
    // Component component2, Integer marginLeft, Integer marginRight);
82

  
83 58
    /**
84 59
     * Creates a button with an icon.
85 60
     * 
86 61
     * @param icon
87
     *            the Icon image to display on the button
62
     *            the Icon image to display on the button.
88 63
     * 
89
     * @return a button
64
     * @return a button.
90 65
     */
91 66
    JButton createJButton(Icon icon);
92 67

  
......
94 69
     * Creates a button with text.
95 70
     * 
96 71
     * @param text
97
     *            the text of the button
72
     *            the text of the button.
98 73
     * 
99
     * @return a button
74
     * @return a button.
100 75
     */
101 76
    JButton createJButton(String text);
102 77

  
......
104 79
     * Creates a button with initial text and icon.
105 80
     * 
106 81
     * @param text
107
     *            the text of the button
82
     *            the text of the button.
108 83
     * @param icon
109
     *            the Icon image to display on the button
84
     *            the Icon image to display on the button.
110 85
     * 
111
     * @return a button
86
     * @return a button.
112 87
     */
113 88
    JButton createJButton(String text, Icon icon);
114 89

  
90
    /**
91
     * Creates a tool button with text.
92
     * 
93
     * @param text
94
     *            the text of the tool button.
95
     * 
96
     * @return a tool button.
97
     */
115 98
    JButton createJToolButton(String text);
116 99
}

Also available in: Unified diff