本文整理了Java中com.extjs.gxt.ui.client.widget.button.Button.disable()
方法的一些代码示例,展示了Button.disable()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Button.disable()
方法的具体详情如下:
包路径:com.extjs.gxt.ui.client.widget.button.Button
类名称:Button
方法名:disable
暂无
代码示例来源:origin: geoserver/geofence
/**
* Disable buttons.
*/
public void disableButtons()
{
this.deleteUser.disable();
this.updateUser.disable();
this.getAOIs.disable();
this.getFeatures.disable();
}
代码示例来源:origin: geoserver/geofence
/**
* Disable save button.
*/
public void disableSaveButton()
{
if (this.saveLayerDetailsButton.isEnabled())
{
this.saveLayerDetailsButton.disable();
}
}
代码示例来源:origin: geoserver/geofence
/**
* Disable save button.
*/
public void disableSaveButton()
{
if (this.saveUserDetailsButton.isEnabled())
{
this.saveUserDetailsButton.disable();
}
}
代码示例来源:origin: bedatadriven/activityinfo
@Override
public void beforeRequest() {
saveButton.disable();
discardButton.disable();
asyncCallCancelled = false;
status.setBusyText(I18N.CONSTANTS.saving());
}
代码示例来源:origin: geoserver/geofence
/**
* Disable save button.
*/
public void disableSaveButton()
{
if (this.saveLayerDetailsButton.isEnabled())
{
this.saveLayerDetailsButton.disable();
}
}
代码示例来源:origin: geoserver/geofence
/**
* Clear grid elements.
*/
public void clearGridElements()
{
this.store.removeAll();
this.saveRuleAttributesButton.disable();
}
代码示例来源:origin: bedatadriven/activityinfo
@Override
public void componentSelected(ButtonEvent ce) {
finishButton.disable();
if (validateSections()) {
saveLocation();
} else {
finishButton.enable();
}
}
});
代码示例来源:origin: bedatadriven/activityinfo
@Override
public void beforeRequest() {
form.disable();
saveButton.disable();
cancelButton.disable();
asyncCallCancelled = false;
status.setBusyText(workingText);
}
代码示例来源:origin: geoserver/geofence
@Override
public void loaderBeforeLoad(LoadEvent le)
{
searchStatus.setBusy("Connection to the Server");
if (select.isEnabled())
{
select.disable();
}
}
代码示例来源:origin: bedatadriven/activityinfo
@Override
public boolean onRetrying() {
if (asyncCallCancelled) {
return false;
}
cancelButton.disable();
status.setBusyText(I18N.CONSTANTS.retrying());
return true;
}
代码示例来源:origin: bedatadriven/activityinfo
@Override
public boolean onRetrying() {
if (asyncCallCancelled) {
return false;
}
cancelButton.disable();
status.setBusyText(I18N.CONSTANTS.retrying());
return true;
}
代码示例来源:origin: geoserver/geofence
public void handleEvent(BaseEvent be) {
if (!grid.getSelectionModel().getSelection().isEmpty())
select.enable();
else
select.disable();
}
});
代码示例来源:origin: com.isotrol.impe3/impe3-gui-common
@Override
public void storeRemove(StoreEvent<ModelData> se) {
if (store.getCount() == 0) {
bRemoveAll.disable();
}
setDirty(true);
fireEvent(Events.Change);
}
});
代码示例来源:origin: geoserver/geofence
/**
* Reset.
*/
public void reset() {
this.search.reset();
this.store.removeAll();
this.toolBar.clear();
this.select.disable();
this.searchStatus.clearStatus("");
}
代码示例来源:origin: com.isotrol.impe3/impe3-gui-common
/**
* Enables or disables the passed button, according to the <code>dirty</code> and <code>valid</code> states of the
* passed detail panel.<br/>
*
* @param button the "Accept" button
* @param detailPanel the detail panel.
*/
private void maybeEnableButton(Button button, IDetailPanel detailPanel) {
if (detailPanel.isValid() && (!detailPanel.isEdition() || detailPanel.isDirty())) {
button.enable();
} else {
button.disable();
}
}
代码示例来源:origin: geoserver/geofence
/**
* On selection change.
*
* @param be
* the be
*/
private void onSelectionChange(SelectionChangedEvent<T> be) {
if (!be.getSelection().isEmpty()) {
detailTp.overwrite(details.getElement(), Util.getJsObject(be.getSelection().get(0)));
ok.enable();
} else {
ok.disable();
details.el().setInnerHtml("");
}
}
代码示例来源:origin: bedatadriven/activityinfo
@Override
public void handleEvent(BaseEvent be) {
if (searchPresenter.getSelection() == null) {
useLocationButton.disable();
} else {
useLocationButton.enable();
useLocationButton.setText(I18N.MESSAGES.useLocation(searchPresenter.getSelection().getName()));
}
}
});
代码示例来源:origin: geoserver/geofence
/**
* Reset.
*/
public void reset() {
this.search.reset();
this.store.removeAll();
this.toolBar.clear();
this.toolBar.disable();
ok.disable();
view.getSelectionModel().deselectAll();
this.searchStatus.clearStatus("");
}
代码示例来源:origin: geoserver/geofence
this.ok.disable();
代码示例来源:origin: geoserver/geofence
login.disable();
login.addSelectionListener(new SelectionListener<ButtonEvent>()
内容来源于网络,如有侵权,请联系作者删除!