|
|
|
@ -43,6 +43,16 @@ public class XWParameterLayout extends XWAbsoluteLayout {
|
|
|
|
|
super(widget, initSize); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void refreshBorderAndBackgroundStylePreviewEffect() { |
|
|
|
|
WParameterLayout data = toData(); |
|
|
|
|
if (data != null) { |
|
|
|
|
Background background = data.getBackground(); |
|
|
|
|
setBackground4Painting(background, 1.0); |
|
|
|
|
repaint(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 初始化尺寸 |
|
|
|
|
* @return 尺寸 |
|
|
|
@ -235,7 +245,7 @@ public class XWParameterLayout extends XWAbsoluteLayout {
|
|
|
|
|
* |
|
|
|
|
*/ |
|
|
|
|
public void firePropertyChange(){ |
|
|
|
|
|
|
|
|
|
refreshBorderAndBackgroundStylePreviewEffect(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|