@ -67,7 +67,7 @@ public abstract class XCreator extends JPanel implements XComponent, XCreatorToo
private int [ ] directions ;
private int [ ] directions ;
private Rectangle backupBound ;
private Rectangle backupBound ;
private String shareId = StringUtils . EMPTY ; //如果组件是共享的会有这个属性
private String shareId = StringUtils . EMPTY ; //如果组件是共享的会有这个属性
private boolean isShareConfigButto nFocus = false ; //焦点是否在帮助按钮上
private boolean isHelpBtnO nFocus = false ; //焦点是否在帮助按钮上
private static final int SHORTS_SEPARATOR_POS = 4 ; // 弹出菜单分割的位置
private static final int SHORTS_SEPARATOR_POS = 4 ; // 弹出菜单分割的位置
public XCreator ( Widget ob , Dimension initSize ) {
public XCreator ( Widget ob , Dimension initSize ) {
@ -671,12 +671,12 @@ public abstract class XCreator extends JPanel implements XComponent, XCreatorToo
* 焦点是否在帮助按钮上
* 焦点是否在帮助按钮上
* @return 焦点是否在帮助按钮上
* @return 焦点是否在帮助按钮上
* /
* /
public boolean isShareConfigButto nFocus ( ) {
public boolean isHelpBtnO nFocus ( ) {
return isShareConfigButto nFocus ;
return isHelpBtnO nFocus ;
}
}
public void setShareConfigButtonFocus ( boolean shareConfigButto nFocus ) {
public void setHelpBtnOnFocus ( boolean isHelpBtnO nFocus ) {
isShareConfigButtonFocus = shareConfigButto nFocus;
this . isHelpBtnOnFocus = isHelpBtnO nFocus;
}
}
@ -692,7 +692,7 @@ public abstract class XCreator extends JPanel implements XComponent, XCreatorToo
if ( coverPanel ! = null ) {
if ( coverPanel ! = null ) {
coverPanel . setVisible ( display ) ;
coverPanel . setVisible ( display ) ;
coverPanel . setPreferredSize ( editor . getPreferredSize ( ) ) ;
coverPanel . setPreferredSize ( editor . getPreferredSize ( ) ) ;
coverPanel . setBounds ( editor . getBounds ( ) ) ;
coverPanel . setBounds ( new Rectangle ( 0 , 0 , editor . getWidth ( ) , editor . getHeight ( ) ) ) ;
editor . repaint ( ) ;
editor . repaint ( ) ;
}
}
}
}