|
|
|
@ -13,7 +13,7 @@ public class FToolBar {
|
|
|
|
|
private Background background = null; |
|
|
|
|
private boolean isDefault = true; |
|
|
|
|
|
|
|
|
|
private ColorMode buttonBgColorType = ColorMode.AUTO; |
|
|
|
|
private ColorMode buttonBgColorMode = ColorMode.AUTO; |
|
|
|
|
public List<ToolBarButton> getButtonlist() { |
|
|
|
|
return buttonlist; |
|
|
|
|
} |
|
|
|
@ -54,12 +54,12 @@ public class FToolBar {
|
|
|
|
|
this.isDefault = isDefault; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public ColorMode getButtonBgColorType() { |
|
|
|
|
return buttonBgColorType; |
|
|
|
|
public ColorMode getButtonBgColorMode() { |
|
|
|
|
return buttonBgColorMode; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void setButtonBgColorType(ColorMode buttonBgColorType) { |
|
|
|
|
this.buttonBgColorType = buttonBgColorType; |
|
|
|
|
public void setButtonBgColorMode(ColorMode buttonBgColorMode) { |
|
|
|
|
this.buttonBgColorMode = buttonBgColorMode; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public ToolBar getToolBar() { |
|
|
|
@ -70,7 +70,7 @@ public class FToolBar {
|
|
|
|
|
ToolBar toolBar = new ToolBar(n); |
|
|
|
|
toolBar.setBackground(this.background); |
|
|
|
|
toolBar.setDefault(this.isDefault); |
|
|
|
|
toolBar.setButtonBgColorType(this.buttonBgColorType); |
|
|
|
|
toolBar.setButtonBgColorMode(this.buttonBgColorMode); |
|
|
|
|
return toolBar; |
|
|
|
|
} |
|
|
|
|
} |