mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Add javadoc params so classes will be parsed correctly by WindowsBuilder Gui tool
This commit is contained in:
@@ -76,6 +76,8 @@ public class QuestBazaarStall extends JPanel {
|
|||||||
* Constructor for QuestBazaarStall.
|
* Constructor for QuestBazaarStall.
|
||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
|
* @wbp.parser.constructor
|
||||||
|
*
|
||||||
* @param name
|
* @param name
|
||||||
* a {@link java.lang.String} object.
|
* a {@link java.lang.String} object.
|
||||||
* @param stallName
|
* @param stallName
|
||||||
|
|||||||
@@ -53,9 +53,12 @@ public class FVerticalTabPanel extends FPanel {
|
|||||||
|
|
||||||
private boolean tabsOnRightSide;
|
private boolean tabsOnRightSide;
|
||||||
|
|
||||||
/** Constructor, will automatically place tabs on left side.
|
/**
|
||||||
|
* Constructor, will automatically place tabs on left side.
|
||||||
*
|
*
|
||||||
* @param childPanels   JPanels to be placed in tabber
|
* @param childPanels
|
||||||
|
*   JPanels to be placed in tabber
|
||||||
|
* @wbp.parser.constructor
|
||||||
*/
|
*/
|
||||||
public FVerticalTabPanel(final List<JPanel> childPanels) {
|
public FVerticalTabPanel(final List<JPanel> childPanels) {
|
||||||
this(childPanels, false);
|
this(childPanels, false);
|
||||||
@@ -68,7 +71,9 @@ public class FVerticalTabPanel extends FPanel {
|
|||||||
*
|
*
|
||||||
* @param childPanels
|
* @param childPanels
|
||||||
*   JPanels to be placed in tabber
|
*   JPanels to be placed in tabber
|
||||||
* @param b   boolean, true if tabs are on right side, false for left side.
|
* @param b
|
||||||
|
*   boolean, true if tabs are on right side, false for left
|
||||||
|
* side.
|
||||||
*/
|
*/
|
||||||
public FVerticalTabPanel(final List<JPanel> childPanels, boolean b) {
|
public FVerticalTabPanel(final List<JPanel> childPanels, boolean b) {
|
||||||
// General inits and skin settings
|
// General inits and skin settings
|
||||||
@@ -181,8 +186,10 @@ public class FVerticalTabPanel extends FPanel {
|
|||||||
/**
|
/**
|
||||||
* Creates the actual clickable tab.
|
* Creates the actual clickable tab.
|
||||||
*
|
*
|
||||||
* @param txt   String text in tab
|
* @param txt
|
||||||
* @param i   int index
|
*   String text in tab
|
||||||
|
* @param i
|
||||||
|
*   int index
|
||||||
*/
|
*/
|
||||||
VTab(final String txt, final int i) {
|
VTab(final String txt, final int i) {
|
||||||
super();
|
super();
|
||||||
@@ -240,8 +247,7 @@ public class FVerticalTabPanel extends FPanel {
|
|||||||
g2d.setTransform(at);
|
g2d.setTransform(at);
|
||||||
g2d.setColor(AllZone.getSkin().getClrText());
|
g2d.setColor(AllZone.getSkin().getClrText());
|
||||||
g2d.drawString(this.msg, 5, -4);
|
g2d.drawString(this.msg, 5, -4);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
at.rotate(Math.toRadians(-90), 0, 0);
|
at.rotate(Math.toRadians(-90), 0, 0);
|
||||||
g2d.setTransform(at);
|
g2d.setTransform(at);
|
||||||
g2d.setColor(AllZone.getSkin().getClrText());
|
g2d.setColor(AllZone.getSkin().getClrText());
|
||||||
@@ -250,15 +256,17 @@ public class FVerticalTabPanel extends FPanel {
|
|||||||
|
|
||||||
if (tabsOnRightSide) {
|
if (tabsOnRightSide) {
|
||||||
at.rotate(Math.toRadians(-90), 0, 0);
|
at.rotate(Math.toRadians(-90), 0, 0);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
at.rotate(Math.toRadians(90), 0, 0);
|
at.rotate(Math.toRadians(90), 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
g2d.setTransform(at);
|
g2d.setTransform(at);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @param txt0   String */
|
/**
|
||||||
|
* @param txt0
|
||||||
|
*   String
|
||||||
|
*/
|
||||||
public void setText(String txt0) {
|
public void setText(String txt0) {
|
||||||
this.msg = txt0;
|
this.msg = txt0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user