mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
Checkstyle updates on FSkin.
This commit is contained in:
@@ -222,7 +222,6 @@ public class FSkin {
|
||||
r = (pixel >> 16) & 0x000000ff;
|
||||
g = (pixel >> 8) & 0x000000ff;
|
||||
b = (pixel) & 0x000000ff;
|
||||
|
||||
return new Color(r, g, b, a);
|
||||
}
|
||||
|
||||
@@ -236,7 +235,7 @@ public class FSkin {
|
||||
|
||||
/**
|
||||
* Primary font used in titles and buttons and most text output.
|
||||
* @param {@link java.awt.font} font1
|
||||
* @param font10   an image icon
|
||||
*/
|
||||
public void setFont1(Font font10) {
|
||||
this.font1 = font10;
|
||||
@@ -252,7 +251,7 @@ public class FSkin {
|
||||
|
||||
/**
|
||||
* Secondary font used where a sub-block of text needs it.
|
||||
* @param {@link java.awt.Font} font2
|
||||
* @param font20   an image icon
|
||||
*/
|
||||
public void setFont2(Font font20) {
|
||||
this.font2 = font20;
|
||||
@@ -268,7 +267,7 @@ public class FSkin {
|
||||
|
||||
/**
|
||||
* Splash screen image.
|
||||
* @param {@link javax.swing.ImageIcon} splash
|
||||
* @param splash0   an image icon
|
||||
*/
|
||||
public void setSplash(ImageIcon splash0) {
|
||||
this.splash = splash0;
|
||||
@@ -284,7 +283,7 @@ public class FSkin {
|
||||
|
||||
/**
|
||||
* Base color used in skin.
|
||||
* @param {@link java.awt.Color} clrTheme
|
||||
* @param clrTheme0   an image icon
|
||||
*/
|
||||
public void setClrTheme(Color clrTheme0) {
|
||||
this.clrTheme = clrTheme0;
|
||||
@@ -300,7 +299,7 @@ public class FSkin {
|
||||
|
||||
/**
|
||||
* Border color.
|
||||
* @param {@link java.awt.Color} clrBorders
|
||||
* @param clrBorders0   an image icon
|
||||
*/
|
||||
public void setClrBorders(Color clrBorders0) {
|
||||
this.clrBorders = clrBorders0;
|
||||
@@ -316,7 +315,7 @@ public class FSkin {
|
||||
|
||||
/**
|
||||
* Primary texture used in skin.
|
||||
* @param {@link javax.swing.ImageIcon} texture1
|
||||
* @param texture10   an image icon
|
||||
*/
|
||||
public void setTexture1(ImageIcon texture10) {
|
||||
this.texture1 = texture10;
|
||||
@@ -332,7 +331,7 @@ public class FSkin {
|
||||
|
||||
/**
|
||||
* Color of zebra striping in grid displays.
|
||||
* @param {@link java.awt.Color} clrZebra
|
||||
* @param clrZebra0   an image icon
|
||||
*/
|
||||
public void setClrZebra(Color clrZebra0) {
|
||||
this.clrZebra = clrZebra0;
|
||||
@@ -348,7 +347,7 @@ public class FSkin {
|
||||
|
||||
/**
|
||||
* Color of elements in mouseover state.
|
||||
* @param {@link java.awt.Color} clrHover
|
||||
* @param clrHover0   an image icon
|
||||
*/
|
||||
public void setClrHover(Color clrHover0) {
|
||||
this.clrHover = clrHover0;
|
||||
@@ -364,7 +363,7 @@ public class FSkin {
|
||||
|
||||
/**
|
||||
* Color of active (currently selected) elements.
|
||||
* @param {@link java.awt.Color} clrActive
|
||||
* @param clrActive0   an image icon
|
||||
*/
|
||||
public void setClrActive(Color clrActive0) {
|
||||
this.clrActive = clrActive0;
|
||||
@@ -380,7 +379,7 @@ public class FSkin {
|
||||
|
||||
/**
|
||||
* Color of inactive (not currently selected) elements.
|
||||
* @param {@link java.awt.Color} clrHover
|
||||
* @param clrInactive0   an image icon
|
||||
*/
|
||||
public void setClrInactive(Color clrInactive0) {
|
||||
this.clrInactive = clrInactive0;
|
||||
@@ -396,7 +395,7 @@ public class FSkin {
|
||||
|
||||
/**
|
||||
* Color of text in skin.
|
||||
* @param {@link java.awt.Color} clrHover
|
||||
* @param clrText0   an image icon
|
||||
*/
|
||||
public void setClrText(Color clrText0) {
|
||||
this.clrText = clrText0;
|
||||
@@ -412,7 +411,7 @@ public class FSkin {
|
||||
|
||||
/**
|
||||
* Left side of button, up state.
|
||||
* @param {@link javax.swing.ImageIcon} btnLup
|
||||
* @param btnLup0   an image icon
|
||||
*/
|
||||
public void setBtnLup(ImageIcon btnLup0) {
|
||||
this.btnLup = btnLup0;
|
||||
@@ -428,7 +427,7 @@ public class FSkin {
|
||||
|
||||
/**
|
||||
* Middle of button, up state.
|
||||
* @param {@link javax.swing.ImageIcon} btnMup
|
||||
* @param btnMup0   an image icon
|
||||
*/
|
||||
public void setBtnMup(ImageIcon btnMup0) {
|
||||
this.btnMup = btnMup0;
|
||||
@@ -444,7 +443,7 @@ public class FSkin {
|
||||
|
||||
/**
|
||||
* Right side of button, up state.
|
||||
* @param {@link javax.swing.ImageIcon} btnRup
|
||||
* @param btnRup0   an image icon
|
||||
*/
|
||||
public void setBtnRup(ImageIcon btnRup0) {
|
||||
this.btnRup = btnRup0;
|
||||
@@ -460,7 +459,7 @@ public class FSkin {
|
||||
|
||||
/**
|
||||
* Left side of button, over state.
|
||||
* @param {@link javax.swing.ImageIcon} btnLover
|
||||
* @param btnLover0   an image icon
|
||||
*/
|
||||
public void setBtnLover(ImageIcon btnLover0) {
|
||||
this.btnLover = btnLover0;
|
||||
@@ -476,7 +475,7 @@ public class FSkin {
|
||||
|
||||
/**
|
||||
* Middle of button, over state.
|
||||
* @param {@link javax.swing.ImageIcon} btnMover
|
||||
* @param btnMover0   an image icon
|
||||
*/
|
||||
public void setBtnMover(ImageIcon btnMover0) {
|
||||
this.btnMover = btnMover0;
|
||||
@@ -492,7 +491,7 @@ public class FSkin {
|
||||
|
||||
/**
|
||||
* Right side of button, over state.
|
||||
* @param {@link javax.swing.ImageIcon} btnRover
|
||||
* @param btnRover0   an image icon
|
||||
*/
|
||||
public void setBtnRover(ImageIcon btnRover0) {
|
||||
this.btnRover = btnRover0;
|
||||
@@ -500,7 +499,7 @@ public class FSkin {
|
||||
|
||||
/**
|
||||
* Left side of button, down state.
|
||||
* @return {@link javax.swing.ImageIcon} btnLdown
|
||||
* @return an image icon
|
||||
*/
|
||||
public ImageIcon getBtnLdown() {
|
||||
return btnLdown;
|
||||
@@ -508,7 +507,7 @@ public class FSkin {
|
||||
|
||||
/**
|
||||
* Left side of button, down state.
|
||||
* @param {@link javax.swing.ImageIcon} btnLdown
|
||||
* @param btnLdown0   an image icon
|
||||
*/
|
||||
public void setBtnLdown(ImageIcon btnLdown0) {
|
||||
this.btnLdown = btnLdown0;
|
||||
@@ -516,7 +515,7 @@ public class FSkin {
|
||||
|
||||
/**
|
||||
* Right side of button, down state.
|
||||
* @return {@link javax.swing.ImageIcon} btnRdown
|
||||
* @return an image icon
|
||||
*/
|
||||
public ImageIcon getBtnRdown() {
|
||||
return btnRdown;
|
||||
@@ -524,7 +523,7 @@ public class FSkin {
|
||||
|
||||
/**
|
||||
* Right side of button, down state.
|
||||
* @param {@link javax.swing.ImageIcon} btnRdown
|
||||
* @param btnRdown0 an image icon
|
||||
*/
|
||||
public void setBtnRdown(ImageIcon btnRdown0) {
|
||||
this.btnRdown = btnRdown0;
|
||||
@@ -532,23 +531,21 @@ public class FSkin {
|
||||
|
||||
/**
|
||||
* Middle of button, down state.
|
||||
* @return {@link javax.swing.ImageIcon} btnMdown
|
||||
* @return an image icon
|
||||
*/
|
||||
public ImageIcon getBtnMdown() {
|
||||
return btnMdown;
|
||||
}
|
||||
|
||||
/**
|
||||
* Middle of button, down state.
|
||||
* @param {@link javax.swing.ImageIcon} btnMdown
|
||||
* @param btnMdown0   an image icon
|
||||
*/
|
||||
public void setBtnMdown(ImageIcon btnMdown0) {
|
||||
this.btnMdown = btnMdown0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name of skin.
|
||||
* @return {@link java.lang.String} name
|
||||
* @return Name of skin.
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
|
||||
Reference in New Issue
Block a user