|
|
|
@ -67,7 +67,7 @@ public abstract class XCreator extends JPanel implements XComponent, XCreatorToo
|
|
|
|
|
private int[] directions; |
|
|
|
|
private Rectangle backupBound; |
|
|
|
|
private String shareId = StringUtils.EMPTY;//如果组件是共享的会有这个属性
|
|
|
|
|
private boolean isShareConfigButtonFocus = false;//焦点是否在帮助按钮上
|
|
|
|
|
private boolean isHelpBtnOnFocus = false;//焦点是否在帮助按钮上
|
|
|
|
|
private static final int SHORTS_SEPARATOR_POS = 4; // 弹出菜单分割的位置
|
|
|
|
|
|
|
|
|
|
public XCreator(Widget ob, Dimension initSize) { |
|
|
|
@ -671,12 +671,12 @@ public abstract class XCreator extends JPanel implements XComponent, XCreatorToo
|
|
|
|
|
* 焦点是否在帮助按钮上 |
|
|
|
|
* @return 焦点是否在帮助按钮上 |
|
|
|
|
*/ |
|
|
|
|
public boolean isShareConfigButtonFocus() { |
|
|
|
|
return isShareConfigButtonFocus; |
|
|
|
|
public boolean isHelpBtnOnFocus() { |
|
|
|
|
return isHelpBtnOnFocus; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void setShareConfigButtonFocus(boolean shareConfigButtonFocus) { |
|
|
|
|
isShareConfigButtonFocus = shareConfigButtonFocus; |
|
|
|
|
public void setHelpBtnOnFocus(boolean isHelpBtnOnFocus) { |
|
|
|
|
this.isHelpBtnOnFocus = isHelpBtnOnFocus; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|