|
|
@ -104,6 +104,15 @@ public class XBorderStyleWidgetCreator extends XWidgetCreator{ |
|
|
|
refreshStylePreviewEffect(); |
|
|
|
refreshStylePreviewEffect(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* @deprecated 该方法在样式数据模型发生变化,如主题更新/body布局类型切换等均会被调用,并不仅限于初始化, |
|
|
|
|
|
|
|
* 因此原方法名称废弃,不应当被继续使用 |
|
|
|
|
|
|
|
* @link {{@link #refreshStylePreviewEffect()}} |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
protected void initStyle() { |
|
|
|
|
|
|
|
refreshStylePreviewEffect(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void refreshStylePreviewEffect() { |
|
|
|
public void refreshStylePreviewEffect() { |
|
|
|
BorderPacker style = toData().getBorderStyle(); |
|
|
|
BorderPacker style = toData().getBorderStyle(); |
|
|
|
refreshBorderAndBackgroundStylePreviewEffect(); |
|
|
|
refreshBorderAndBackgroundStylePreviewEffect(); |
|
|
@ -117,6 +126,15 @@ public class XBorderStyleWidgetCreator extends XWidgetCreator{ |
|
|
|
reshuffleBorderAndBackgroundPaintingEffectIfTitleExists(); |
|
|
|
reshuffleBorderAndBackgroundPaintingEffectIfTitleExists(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* @deprecated 该方法在样式数据模型发生变化,如主题更新/图表默认开启标题等时均会被调用,并不仅限于初始化, |
|
|
|
|
|
|
|
* 因此原方法名称废弃,不应当被继续使用 |
|
|
|
|
|
|
|
* @link {{@link #refreshBorderAndBackgroundStylePreviewEffect()} ()}} |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
protected void initBorderAndBackgroundStyle() { |
|
|
|
|
|
|
|
refreshBorderAndBackgroundStylePreviewEffect(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void refreshBorderAndBackgroundStylePreviewEffect() { |
|
|
|
public void refreshBorderAndBackgroundStylePreviewEffect() { |
|
|
|
BorderPacker style = toData().getBorderStyle(); |
|
|
|
BorderPacker style = toData().getBorderStyle(); |
|
|
|
LineBorder DEFAULT_LINE_BORDER = (LineBorder) DEFALUTBORDER; |
|
|
|
LineBorder DEFAULT_LINE_BORDER = (LineBorder) DEFALUTBORDER; |
|
|
|