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