|
|
|
@ -21,7 +21,7 @@ import java.awt.Component;
|
|
|
|
|
*/ |
|
|
|
|
public abstract class BackgroundCompPane<T extends Widget> extends BasicPane { |
|
|
|
|
protected UIButtonGroup backgroundHead; |
|
|
|
|
protected AccessibleImgBackgroundEditor initalBackgroundEditor; |
|
|
|
|
protected AccessibleImgBackgroundEditor initialBackgroundEditor; |
|
|
|
|
protected AccessibleImgBackgroundEditor overBackgroundEditor; |
|
|
|
|
protected AccessibleImgBackgroundEditor clickBackgroundEditor; |
|
|
|
|
private JPanel panel; |
|
|
|
@ -42,7 +42,7 @@ public abstract class BackgroundCompPane<T extends Widget> extends BasicPane {
|
|
|
|
|
double[] columnSize = {p, f}; |
|
|
|
|
int[][] rowCount = {{1, 1},{1, 1},{1, 1}}; |
|
|
|
|
Component[][] components = new Component[][]{ |
|
|
|
|
new Component[]{new UILabel(Inter.getLocText("FR-Designer_Background-Initial")), initalBackgroundEditor}, |
|
|
|
|
new Component[]{new UILabel(Inter.getLocText("FR-Designer_Background-Initial")), initialBackgroundEditor}, |
|
|
|
|
new Component[]{new UILabel(Inter.getLocText("FR-Designer_Background-Over")), overBackgroundEditor}, |
|
|
|
|
new Component[]{getClickLabel(), clickBackgroundEditor}, |
|
|
|
|
}; |
|
|
|
@ -58,7 +58,7 @@ public abstract class BackgroundCompPane<T extends Widget> extends BasicPane {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected void initBackgroundEditor(){ |
|
|
|
|
initalBackgroundEditor = new AccessibleImgBackgroundEditor(); |
|
|
|
|
initialBackgroundEditor = new AccessibleImgBackgroundEditor(); |
|
|
|
|
overBackgroundEditor = new AccessibleImgBackgroundEditor(); |
|
|
|
|
clickBackgroundEditor = new AccessibleImgBackgroundEditor(); |
|
|
|
|
} |
|
|
|
|