|
|
@ -140,6 +140,7 @@ public class BackgroundPane extends AbstractBasicStylePane { |
|
|
|
* Populate background. |
|
|
|
* Populate background. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public void populateBean(Background background) { |
|
|
|
public void populateBean(Background background) { |
|
|
|
|
|
|
|
resetPaneList(); |
|
|
|
for (int i = 0; i < paneList.length; i++) { |
|
|
|
for (int i = 0; i < paneList.length; i++) { |
|
|
|
BackgroundQuickPane pane = paneList[i]; |
|
|
|
BackgroundQuickPane pane = paneList[i]; |
|
|
|
if (pane.accept(background)) { |
|
|
|
if (pane.accept(background)) { |
|
|
@ -151,6 +152,12 @@ public class BackgroundPane extends AbstractBasicStylePane { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void resetPaneList() { |
|
|
|
|
|
|
|
for (BackgroundQuickPane pane : paneList) { |
|
|
|
|
|
|
|
pane.reset(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Update background. |
|
|
|
* Update background. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|