congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
IButton.setWidth
Code IndexAdd Tabnine to your IDE (free)

How to use
setWidth
method
in
com.smartgwt.client.widgets.IButton

Best Java code snippets using com.smartgwt.client.widgets.IButton.setWidth (Showing top 14 results out of 315)

origin: org.geomajas.widget/geomajas-widget-searchandfilter-gwt

btnAddRow.setWidth(26);
btnAddRow.setIcon(GsfLayout.iconAdd);
HandlerRegistration addReg = btnAddRow.addClickHandler(new ClickHandler() {
btnRemoveRow.setWidth(26);
btnRemoveRow.setIcon(WidgetLayout.iconRemove);
HandlerRegistration removeReg = btnRemoveRow.addClickHandler(new ClickHandler() {
origin: org.geomajas.widget/geomajas-widget-searchandfilter-gwt

favouritesBtn.setIcon(GsfLayout.iconBookmark);
favouritesBtn.setShowDisabledIcon(false);
favouritesBtn.setWidth(favouritesBtn.getTitle().length() * GsfLayout.buttonFontWidth + GsfLayout.buttonOffset);
favouritesBtn.addClickHandler(new ClickHandler() {
searchBtn.setWidth(searchBtn.getTitle().length() * GsfLayout.buttonFontWidth + GsfLayout.buttonOffset);
searchBtn.setIcon(GsfLayout.iconFind);
searchBtn.setShowDisabledIcon(false);
resetBtn.setWidth(resetBtn.getTitle().length() * GsfLayout.buttonFontWidth + GsfLayout.buttonOffset);
resetBtn.setIcon(WidgetLayout.iconReset);
resetBtn.setShowDisabledIcon(false);
saveBtn.setWidth(saveBtn.getTitle().length() * GsfLayout.buttonFontWidth + GsfLayout.buttonOffset);
saveBtn.setIcon(WidgetLayout.iconSave);
saveBtn.setShowDisabledIcon(false);
saveBtn.setVisible(false);
IButton cancelBtn = new IButton(MESSAGES.searchWidgetCancel());
cancelBtn.setWidth(cancelBtn.getTitle().length() * GsfLayout.buttonFontWidth + GsfLayout.buttonOffset);
cancelBtn.setIcon(WidgetLayout.iconCancel);
cancelBtn.setShowDisabledIcon(false);
    .setWidth(filterLayerBtn.getTitle().length() * GsfLayout.buttonFontWidth + GsfLayout.buttonOffset);
filterLayerBtn.setIcon(GsfLayout.iconFilter);
filterLayerBtn.setShowDisabledIcon(false);
    setWidth(removeFilterBtn.getTitle().length() * GsfLayout.buttonFontWidth + GsfLayout.buttonOffset);
removeFilterBtn.setIcon(GsfLayout.iconRemoveFilter);
origin: org.n52.sensorweb/sensorwebclient-ui

this.loginButton.setWidth(this.buttonWidth);
this.loginButton.setShowRollOver(true);
this.loginButton.setShowDown(true);
this.registerButton.setWidth(this.buttonWidth);
this.registerButton.setShowRollOver(true);
this.registerButton.setShowDown(true);
this.getPasswordButton.setWidth(this.buttonWidth);
this.getPasswordButton.setShowRollOver(true);
this.getPasswordButton.setShowDown(true);
this.editProfileButton.setWidth(this.buttonWidth);
this.editProfileButton.setShowRollOver(true);
this.editProfileButton.setShowDown(true);
this.aboRuleButton.setWidth(this.buttonWidth);
this.aboRuleButton.setShowRollOver(true);
this.aboRuleButton.setShowDown(true);
this.createSimpleRuleButton.setWidth(this.buttonWidth);
this.createSimpleRuleButton.setShowRollOver(true);
this.createSimpleRuleButton.setShowDown(true);
this.createComplexRuleButton.setWidth(this.buttonWidth);
this.createComplexRuleButton.setShowRollOver(true);
this.createComplexRuleButton.setShowDown(true);
this.editRulesButton.setWidth(this.buttonWidth);
origin: org.geomajas.widget/geomajas-widget-featureinfo-gwt-example-jar

public FeatureListGridPage(MapWidget map) {
  super("FeatureListGrid", map);
  // Create a horizontal layout for the buttons:
  HLayout buttonLayout = new HLayout();
  buttonLayout.setMembersMargin(5);
  buttonLayout.setHeight(25);
  // Create a button to show the "roads" objects into a FeatureGrid:
  IButton button1a = new IButton("Show roads");
  button1a.addClickHandler(new ClickHandler() {
    public void onClick(ClickEvent event) {
      VectorLayer layer = (VectorLayer) getMap().getMapModel().getLayer("roadsLayer");
      table.setLayer(layer);
      layer.getFeatureStore().getFeatures(GeomajasConstant.FEATURE_INCLUDE_ALL, new LazyLoadCallback() {
        // Add all the features currently in the layer's FeatureStore to the grid:
        public void execute(List<Feature> response) {
          for (Feature feature : response) {
            table.addFeature(feature);
          }
        }
      });
    }
  });
  button1a.setWidth(110);
  buttonLayout.addMember(button1a);
  mainLayout.addMember(buttonLayout);
  // Create the FeatureGrid that shows alpha-numerical attributes of features:
  table = new FeatureListGrid(map.getMapModel());
  table.setEditingEnabled(true);
  mainLayout.addMember(table);
}
origin: org.geomajas/geomajas-project-deskmanager-gwt

userButtonNew.setWidth(userButtonNew.getTitle().length() * GdmLayout.buttonFontWidth + GdmLayout.buttonOffset);
userButtonNew.setIcon(WidgetLayout.iconAdd);
userButtonNew.addClickHandler(new ClickHandler() {
groupButtonNew.setWidth(userButtonNew.getTitle().length() * GdmLayout.buttonFontWidth + GdmLayout.buttonOffset);
groupButtonNew.setIcon(WidgetLayout.iconAdd);
groupButtonNew.addClickHandler(new ClickHandler() {
origin: org.geomajas.widget/geomajas-widget-searchandfilter-gwt

btnPoint.setWidth(btnPoint.getTitle().length() * GsfLayout.buttonFontWidth + GsfLayout.buttonOffset);
btnPoint.setActionType(SelectionType.RADIO);
btnPoint.setRadioGroup("drawType");
btnLine.setWidth(btnLine.getTitle().length() * GsfLayout.buttonFontWidth + GsfLayout.buttonOffset);
btnLine.setActionType(SelectionType.RADIO);
btnLine.setRadioGroup("drawType");
btnPolygon.setWidth(btnPolygon.getTitle().length() * GsfLayout.buttonFontWidth + GsfLayout.buttonOffset);
btnPolygon.setActionType(SelectionType.RADIO);
btnPolygon.setRadioGroup("drawType");
btnUndo.setWidth(btnUndo.getTitle().length() * GsfLayout.buttonFontWidth + GsfLayout.buttonOffset);
btnUndo.setDisabled(true);
btnUndo.setShowDisabledIcon(false);
btnRedo.setWidth(btnRedo.getTitle().length() * GsfLayout.buttonFontWidth + GsfLayout.buttonOffset);
btnRedo.setDisabled(true);
btnRedo.setShowDisabledIcon(false);
origin: org.geomajas/geomajas-project-deskmanager-gwt

buttonNew.setWidth(buttonNew.getTitle().length() * GdmLayout.buttonFontWidth + GdmLayout.buttonOffset);
buttonNew.setIcon(WidgetLayout.iconAdd);
buttonNew.addClickHandler(new ClickHandler() {
origin: org.geomajas/geomajas-project-deskmanager-gwt

buttonNew.setWidth(buttonNew.getTitle().length() * GdmLayout.buttonFontWidth + GdmLayout.buttonOffset);
buttonNew.setIcon(WidgetLayout.iconAdd);
buttonNew.addClickHandler(new ClickHandler() {
origin: org.geomajas.plugin/geomajas-plugin-springsecurity

loginButton.setWidth(80);
loginButton.setIcon("[ISOMORPHIC]/geomajas/springsecurity/key_go.png");
loginButton.addClickHandler(new LoginClickHandler());
resetButton.setWidth(80);
resetButton.setIcon("[ISOMORPHIC]/geomajas/silk/undo.png");
resetButton.addClickHandler(new ResetClickHandler());
origin: org.geomajas.plugin/geomajas-plugin-staticsecurity-gwt

loginButton.setWidth(80);
loginButton.setIcon("[ISOMORPHIC]/geomajas/staticsecurity/key_go.png");
loginButton.addClickHandler(new LoginClickHandler());
resetButton.setWidth(80);
resetButton.setIcon("[ISOMORPHIC]/geomajas/silk/undo.png");
resetButton.addClickHandler(new ResetClickHandler());
origin: org.geomajas.plugin/geomajas-plugin-staticsecurity-gwt

loginButton.setWidth(SsecLayout.tokenRequestWindowButtonWidth);
loginButton.setIcon(SsecLayout.iconLogin);
loginButton.addClickHandler(new TokenRequestLoginClickHandler());
resetButton.setWidth(SsecLayout.tokenRequestWindowButtonWidth);
resetButton.setIcon(WidgetLayout.iconUndo);
resetButton.addClickHandler(new TokenRequestResetClickHandler());
origin: org.n52.sensorweb/sensorwebclient-ui

this.blockButtonItem.setWidth("130px");
this.blockButtonItem.addClickHandler(new com.smartgwt.client.widgets.events.ClickHandler() {
this.singleButtonItem.setWidth("130px");
this.singleButtonItem.addClickHandler(new com.smartgwt.client.widgets.events.ClickHandler() {
  public void onClick(com.smartgwt.client.widgets.events.ClickEvent event) {
this.resetButtonItem.setWidth("130px");
this.resetButtonItem.addClickHandler(new com.smartgwt.client.widgets.events.ClickHandler() {
  public void onClick(com.smartgwt.client.widgets.events.ClickEvent event) {
origin: org.n52.sensorweb/sensorwebclient-ui

createUserButton.setPrompt(i18n.createNewUser());
createUserButton.setHeight(20);
createUserButton.setWidth(130);
createUserButton.addClickHandler(new ClickHandler() {
  public void onClick(ClickEvent event) {
origin: com.github.livesense/org.liveSense.jcr.explorer

addValue.setLeft(0);  
addValue.setTop(240);  
addValue.setWidth(120);  
removeAll.setLeft(260);  
removeAll.setTop(240);  
removeAll.setWidth(120);  
com.smartgwt.client.widgetsIButtonsetWidth

Popular methods of IButton

  • <init>
    Constructor for IButton.
  • addClickHandler
  • setTitle
  • setIcon
  • setDisabled
  • setLayoutAlign
  • getTitle
  • setActionType
  • setAutoFit
  • setRadioGroup
  • setSelected
  • setShowRollOver
  • setSelected,
  • setShowRollOver,
  • setTooltip,
  • setVisible,
  • deselect,
  • equals,
  • focus,
  • getIcon,
  • hide

Popular in Java

  • Reactive rest calls using spring rest template
  • notifyDataSetChanged (ArrayAdapter)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getResourceAsStream (ClassLoader)
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • JCheckBox (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now