Package com.sencha.gxt.widget.core.client

Examples of com.sencha.gxt.widget.core.client.Status


    this.model = model;

    ToolBar bar = new ToolBar();
    bar.add(new FillToolItem());

    charCount = new Status(
        GWT.<StatusAppearance> create(BlueBoxStatusAppearance.class));
    charCount.setWidth(150);
    if (model.getContent() == null)
      charCount.setText(0 + " 个字符");
    else
      charCount.setText(model.getContent().length() + " 个字符");
    bar.add(charCount);

    bar.add(new LabelToolItem(" "));

    status = new Status(
        GWT.<StatusAppearance> create(BlueBoxStatusAppearance.class));
    status.setText("已保存");
    status.setWidth(150);
    bar.add(status);
View Full Code Here

TOP

Related Classes of com.sencha.gxt.widget.core.client.Status

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.