Add javadoc params so classes will be parsed correctly by WindowsBuilder Gui tool

This commit is contained in:
jendave
2011-12-04 03:09:30 +00:00
parent bc8255adea
commit 26d29937d0
2 changed files with 21 additions and 11 deletions

View File

@@ -76,6 +76,8 @@ public class QuestBazaarStall extends JPanel {
* Constructor for QuestBazaarStall.
* </p>
*
* @wbp.parser.constructor
*
* @param name
* a {@link java.lang.String} object.
* @param stallName

View File

@@ -53,9 +53,12 @@ public class FVerticalTabPanel extends FPanel {
private boolean tabsOnRightSide;
/** Constructor, will automatically place tabs on left side.
/**
* Constructor, will automatically place tabs on left side.
*
* @param childPanels &emsp; JPanels to be placed in tabber
* @param childPanels
* &emsp; JPanels to be placed in tabber
* @wbp.parser.constructor
*/
public FVerticalTabPanel(final List<JPanel> childPanels) {
this(childPanels, false);
@@ -68,7 +71,9 @@ public class FVerticalTabPanel extends FPanel {
*
* @param childPanels
* &emsp; JPanels to be placed in tabber
* @param b &emsp; boolean, true if tabs are on right side, false for left side.
* @param b
* &emsp; boolean, true if tabs are on right side, false for left
* side.
*/
public FVerticalTabPanel(final List<JPanel> childPanels, boolean b) {
// General inits and skin settings
@@ -181,8 +186,10 @@ public class FVerticalTabPanel extends FPanel {
/**
* Creates the actual clickable tab.
*
* @param txt &emsp; String text in tab
* @param i &emsp; int index
* @param txt
* &emsp; String text in tab
* @param i
* &emsp; int index
*/
VTab(final String txt, final int i) {
super();
@@ -240,8 +247,7 @@ public class FVerticalTabPanel extends FPanel {
g2d.setTransform(at);
g2d.setColor(AllZone.getSkin().getClrText());
g2d.drawString(this.msg, 5, -4);
}
else {
} else {
at.rotate(Math.toRadians(-90), 0, 0);
g2d.setTransform(at);
g2d.setColor(AllZone.getSkin().getClrText());
@@ -250,15 +256,17 @@ public class FVerticalTabPanel extends FPanel {
if (tabsOnRightSide) {
at.rotate(Math.toRadians(-90), 0, 0);
}
else {
} else {
at.rotate(Math.toRadians(90), 0, 0);
}
g2d.setTransform(at);
}
/** @param txt0 &emsp; String */
/**
* @param txt0
* &emsp; String
*/
public void setText(String txt0) {
this.msg = txt0;
}