本文整理了Java中java.awt.CardLayout.last()
方法的一些代码示例,展示了CardLayout.last()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。CardLayout.last()
方法的具体详情如下:
包路径:java.awt.CardLayout
类名称:CardLayout
方法名:last
[英]Flips to the last card of the container.
[中]翻转到容器的最后一张卡片。
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-cnd-makeproject
public void showProgress() {
projectFolder.setEnabled(false);
projectName.setEnabled(false);
alsoRenameFolder.setEnabled(false);
progress.setVisible(true);
((CardLayout) progress.getLayout()).last(progress);
}
代码示例来源:origin: pentaho/pentaho-reporting
public void actionPerformed( final ActionEvent e ) {
rgbColorSelectorPanel.setComponent( component );
colorSelectorLayout.last( colorSelectorPanel );
reconfigureSlider( component );
}
}
代码示例来源:origin: syedlopez/proguard
/**
* Selects the last tab.
*/
public void last()
{
cardLayout.last(cardPanel);
updateButtonSelection();
}
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-cnd-makeproject
public @Override void showProgress() {
deleteSourcesCheckBox.setEnabled(false);
((CardLayout) progress.getLayout()).last(progress);
}
代码示例来源:origin: abel533/DBMetadata
public Controller initView() {
if (DBData.config == null) {
loadFrame.setTitle(I18n.key("tools.load.title.choose"));
loadFrame.getChoosePanel().getComboBoxCatalog().setModel(new DefaultComboBoxModel<String>(DBData.catalogs.toArray(new String[]{})));
loadFrame.getChoosePanel().getComboBoxSchema().setModel(new DefaultComboBoxModel<String>(DBData.schemas.toArray(new String[]{})));
//让用户选择
loadFrame.getCardLayout().last(loadFrame.getContentPanel());
} else {
loadData(DBData.config);
}
return this;
}
代码示例来源:origin: org.swinglabs.swingx/swingx-core
@Override
public void loginStarted(LoginEvent source) {
assert EventQueue.isDispatchThread();
getActionMap().get(LOGIN_ACTION_COMMAND).setEnabled(false);
getActionMap().get(CANCEL_LOGIN_ACTION_COMMAND).setEnabled(true);
// remove(contentPanel);
// add(progressPanel, BorderLayout.CENTER);
((CardLayout) contentCardPane.getLayout()).last(contentCardPane);
revalidate();
repaint();
setStatus(Status.IN_PROGRESS);
}
代码示例来源:origin: com.haulmont.thirdparty/swingx-core
@Override
public void loginStarted(LoginEvent source) {
assert EventQueue.isDispatchThread();
getActionMap().get(LOGIN_ACTION_COMMAND).setEnabled(false);
getActionMap().get(CANCEL_LOGIN_ACTION_COMMAND).setEnabled(true);
// remove(contentPanel);
// add(progressPanel, BorderLayout.CENTER);
((CardLayout) contentCardPane.getLayout()).last(contentCardPane);
revalidate();
repaint();
setStatus(Status.IN_PROGRESS);
}
代码示例来源:origin: org.swinglabs.swingx/swingx-all
@Override
public void loginStarted(LoginEvent source) {
assert EventQueue.isDispatchThread();
getActionMap().get(LOGIN_ACTION_COMMAND).setEnabled(false);
getActionMap().get(CANCEL_LOGIN_ACTION_COMMAND).setEnabled(true);
// remove(contentPanel);
// add(progressPanel, BorderLayout.CENTER);
((CardLayout) contentCardPane.getLayout()).last(contentCardPane);
revalidate();
repaint();
setStatus(Status.IN_PROGRESS);
}
代码示例来源:origin: org.bidib.jbidib.swinglabs.swingx/swingx-core
@Override
public void loginStarted(LoginEvent source) {
assert EventQueue.isDispatchThread();
getActionMap().get(LOGIN_ACTION_COMMAND).setEnabled(false);
getActionMap().get(CANCEL_LOGIN_ACTION_COMMAND).setEnabled(true);
// remove(contentPanel);
// add(progressPanel, BorderLayout.CENTER);
((CardLayout) contentCardPane.getLayout()).last(contentCardPane);
revalidate();
repaint();
setStatus(Status.IN_PROGRESS);
}
代码示例来源:origin: org.codehaus.jtstand/jtstand-desktop
@Override
public void loginStarted(LoginEvent source) {
assert EventQueue.isDispatchThread();
getActionMap().get(LOGIN_ACTION_COMMAND).setEnabled(false);
getActionMap().get(CANCEL_LOGIN_ACTION_COMMAND).setEnabled(true);
// remove(contentPanel);
// add(progressPanel, BorderLayout.CENTER);
((CardLayout) contentCardPane.getLayout()).last(contentCardPane);
revalidate();
repaint();
setStatus(Status.IN_PROGRESS);
}
代码示例来源:origin: igniterealtime/Spark
versionField.setText(versionResult.getVersion());
osField.setText(versionResult.getOs());
((CardLayout)(cards.getLayout())).last( cards );
} );
((CardLayout)(cards.getLayout())).last( cards );
} );
((CardLayout)(cards.getLayout())).last( cards );
代码示例来源:origin: dcaoyuan/nbscala
this.removeButton.setEnabled (false);
if (pNode == null) {
((CardLayout)cards.getLayout()).last(cards);
return;
cl.last (cards);
代码示例来源:origin: stackoverflow.com
cl.previous(cards);
} else if (cmd.equals(LAST)) {
cl.last(cards);
代码示例来源:origin: org.netbeans.api/org-netbeans-modules-java-platform-ui
this.removeButton.setEnabled (false);
if (pNode == null) {
((CardLayout)cards.getLayout()).last(cards);
return;
cl.last (cards);
内容来源于网络,如有侵权,请联系作者删除!