mirror of https://gitee.com/makejava/EasyCode.git
隐藏未实现的UI组件
This commit is contained in:
parent
1aeb7555da
commit
1b10a56226
|
@ -40,7 +40,7 @@
|
|||
<text value="1.0.0"/>
|
||||
</properties>
|
||||
</component>
|
||||
<component id="3ce2" class="javax.swing.JLabel">
|
||||
<component id="3ce2" class="javax.swing.JLabel" binding="userSecureLabel">
|
||||
<constraints>
|
||||
<grid row="2" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
|
||||
</constraints>
|
||||
|
@ -56,7 +56,7 @@
|
|||
<properties/>
|
||||
<border type="none"/>
|
||||
<children>
|
||||
<component id="ae3" class="javax.swing.JLabel">
|
||||
<component id="ae3" class="javax.swing.JLabel" binding="userSecureTitle">
|
||||
<constraints>
|
||||
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
|
||||
</constraints>
|
||||
|
|
|
@ -34,6 +34,8 @@ public class MainSettingForm implements Configurable, Configurable.Composite, Ba
|
|||
private JPanel mainPanel;
|
||||
private JTextField userSecureEditor;
|
||||
private JTextField authorEditor;
|
||||
private JLabel userSecureLabel;
|
||||
private JLabel userSecureTitle;
|
||||
|
||||
/**
|
||||
* 子配置
|
||||
|
@ -106,6 +108,12 @@ public class MainSettingForm implements Configurable, Configurable.Composite, Ba
|
|||
|
||||
@Override
|
||||
public @Nullable JComponent createComponent() {
|
||||
// TODO 临时隐藏未开发完毕的UI组件
|
||||
this.pushBtn.setVisible(false);
|
||||
this.pullBtn.setVisible(false);
|
||||
this.userSecureEditor.setVisible(false);
|
||||
this.userSecureTitle.setVisible(false);
|
||||
this.userSecureLabel.setVisible(false);
|
||||
// 加载储存数据
|
||||
this.loadSettingsStore();
|
||||
// 初始化事件
|
||||
|
|
Loading…
Reference in New Issue