本文整理汇总了Java中org.pentaho.ui.xul.components.XulButton.setDisabled方法的典型用法代码示例。如果您正苦于以下问题:Java XulButton.setDisabled方法的具体用法?Java XulButton.setDisabled怎么用?Java XulButton.setDisabled使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.pentaho.ui.xul.components.XulButton
的用法示例。
在下文中一共展示了XulButton.setDisabled方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: enableButtons
import org.pentaho.ui.xul.components.XulButton; //导入方法依赖的package包/类
public void enableButtons(boolean enableNew, boolean enableEdit, boolean enableRemove) {
XulButton bNew = (XulButton) document.getElementById("connections-new"); //$NON-NLS-1$
XulButton bEdit = (XulButton) document.getElementById("connections-edit"); //$NON-NLS-1$
XulButton bRemove = (XulButton) document.getElementById("connections-remove"); //$NON-NLS-1$
bNew.setDisabled(!enableNew);
bEdit.setDisabled(!enableEdit);
bRemove.setDisabled(!enableRemove);
}
示例2: enableButtons
import org.pentaho.ui.xul.components.XulButton; //导入方法依赖的package包/类
public void enableButtons(boolean enableNew, boolean enableEdit, boolean enableRemove) {
XulButton bNew = (XulButton) document.getElementById("partitions-new"); //$NON-NLS-1$
XulButton bEdit = (XulButton) document.getElementById("partitions-edit"); //$NON-NLS-1$
XulButton bRemove = (XulButton) document.getElementById("partitions-remove"); //$NON-NLS-1$
bNew.setDisabled(!enableNew);
bEdit.setDisabled(!enableEdit);
bRemove.setDisabled(!enableRemove);
}
示例3: enableButtons
import org.pentaho.ui.xul.components.XulButton; //导入方法依赖的package包/类
public void enableButtons(boolean enableNew, boolean enableEdit, boolean enableRemove) {
XulButton bNew = (XulButton) document.getElementById("clusters-new"); //$NON-NLS-1$
XulButton bEdit = (XulButton) document.getElementById("clusters-edit"); //$NON-NLS-1$
XulButton bRemove = (XulButton) document.getElementById("clusters-remove"); //$NON-NLS-1$
bNew.setDisabled(!enableNew);
bEdit.setDisabled(!enableEdit);
bRemove.setDisabled(!enableRemove);
}
示例4: enableButtons
import org.pentaho.ui.xul.components.XulButton; //导入方法依赖的package包/类
public void enableButtons(boolean enableNew, boolean enableEdit, boolean enableRemove) {
XulButton bNew = (XulButton) document.getElementById("slaves-new"); //$NON-NLS-1$
XulButton bEdit = (XulButton) document.getElementById("slaves-edit"); //$NON-NLS-1$
XulButton bRemove = (XulButton) document.getElementById("slaves-remove"); //$NON-NLS-1$
bNew.setDisabled(!enableNew);
bEdit.setDisabled(!enableEdit);
bRemove.setDisabled(!enableRemove);
}
示例5: enableButtons
import org.pentaho.ui.xul.components.XulButton; //导入方法依赖的package包/类
public void enableButtons( boolean enableNew, boolean enableEdit, boolean enableRemove ) {
XulButton bNew = (XulButton) document.getElementById( "connections-new" );
XulButton bEdit = (XulButton) document.getElementById( "connections-edit" );
XulButton bRemove = (XulButton) document.getElementById( "connections-remove" );
bNew.setDisabled( !enableNew );
bEdit.setDisabled( !enableEdit );
bRemove.setDisabled( !enableRemove );
}
示例6: enableButtons
import org.pentaho.ui.xul.components.XulButton; //导入方法依赖的package包/类
public void enableButtons( boolean enableNew, boolean enableEdit, boolean enableRemove ) {
XulButton bNew = (XulButton) document.getElementById( "partitions-new" );
XulButton bEdit = (XulButton) document.getElementById( "partitions-edit" );
XulButton bRemove = (XulButton) document.getElementById( "partitions-remove" );
bNew.setDisabled( !enableNew );
bEdit.setDisabled( !enableEdit );
bRemove.setDisabled( !enableRemove );
}
示例7: enableButtons
import org.pentaho.ui.xul.components.XulButton; //导入方法依赖的package包/类
public void enableButtons( boolean enableNew, boolean enableEdit, boolean enableRemove ) {
XulButton bNew = (XulButton) document.getElementById( "clusters-new" );
XulButton bEdit = (XulButton) document.getElementById( "clusters-edit" );
XulButton bRemove = (XulButton) document.getElementById( "clusters-remove" );
bNew.setDisabled( !enableNew );
bEdit.setDisabled( !enableEdit );
bRemove.setDisabled( !enableRemove );
}
示例8: enableButtons
import org.pentaho.ui.xul.components.XulButton; //导入方法依赖的package包/类
public void enableButtons( boolean enableNew, boolean enableEdit, boolean enableRemove ) {
XulButton bNew = (XulButton) document.getElementById( "slaves-new" );
XulButton bEdit = (XulButton) document.getElementById( "slaves-edit" );
XulButton bRemove = (XulButton) document.getElementById( "slaves-remove" );
bNew.setDisabled( !enableNew );
bEdit.setDisabled( !enableEdit );
bRemove.setDisabled( !enableRemove );
}
示例9: setValid
import org.pentaho.ui.xul.components.XulButton; //导入方法依赖的package包/类
protected void setValid(final boolean valid) {
XulButton nextButton = (XulButton) getDocument().getElementById(NEXT_BTN_ID);
nextButton.setDisabled(!valid);
}