Examples of TextModel


Examples of com.nexirius.framework.datamodel.TextModel

      JComponent center = factory.createViewer(new RadioBoxViewerCreator(), separator).getJComponent();
 
      add(center, BorderLayout.CENTER);

      text = new TextModel(mainModel.getSeparatorHelpText(), "text");
      JComponent south = factory.createDefaultEditor(text).getJComponent();

      south.setPreferredSize(new Dimension(500, 100));
      south.setSize(new Dimension(500, 100));
     
View Full Code Here

Examples of limelight.ui.model.text.TextModel

    }

    @Override
    protected void doUpdate()
    {
      TextModel model = panel.getModel();
      model.setCaretOn(!model.isCaretOn());
      panel.markAsDirty();
    }
View Full Code Here

Examples of limelight.ui.model.text.TextModel

  }

  public void setInPasswordMode(boolean passwordMode)
  {
    TextMask newMask = passwordMode ? PasswordMask.instance : IdentityMask.instance;
    final TextModel model = getModel();
    if(model.getMask() != newMask)
    {
      model.setMask(newMask);
      model.clearCache();
      markAsDirty();
    }
  }
View Full Code Here

Examples of org.beangle.struts2.view.freemarker.tags.TextModel

    this.res = res;
  }

  public TextModel getText() {
    if (null == text) {
      text = new TextModel(stack, req, res);
    }
    return text;
  }
View Full Code Here

Examples of org.cyclop.web.common.TextModel

    add(browserCallback);
    return browserCallback;
  }

  private void initFilter(final WebMarkupContainer historyContainer) {
    final TextModel filterFieldModel = new TextModel();
    final TextField<String> filterField = new TextField<>("filterField", filterFieldModel);
    filterField.setOutputMarkupId(true);

    filterField.add(new FilterBehaviour(filterFieldModel, historyContainer));
    add(filterField);

    AjaxFallbackLink<Void> resetFilter = new AjaxFallbackLink<Void>("resetFilter") {
      @Override
      public void onClick(AjaxRequestTarget target) {
        ImmutableList<QueryEntry> historyToUpdate = historyService.read().copyAsList();

        rebuildHistoryTable(historyToUpdate, null);
        filterFieldModel.setObject("");
        target.add(filterField);
        target.add(historyContainer);
        target.appendJavaScript("initResetButton();");
      }
    };
View Full Code Here

Examples of org.eclipse.sapphire.ui.swt.gef.model.TextModel

  }
   
  @Override
  protected void createEditPolicies()
  {
    TextModel textModel = (TextModel)getModel();
    TextPart textPart = (TextPart)textModel.getSapphirePart();

    if (textPart.isEditable())
    {
      installEditPolicy(EditPolicy.DIRECT_EDIT_ROLE, new NodeLabelDirectEditPolicy());
    }
View Full Code Here

Examples of org.eclipse.sapphire.ui.swt.gef.model.TextModel

  }
 
  @Override
  protected void refreshVisuals()
  {
    TextModel textModel = (TextModel)getModel();
    TextPart textPart = (TextPart)textModel.getSapphirePart();
    ((TextFigure)getFigure()).setText(textPart.getContent());
  }
View Full Code Here

Examples of org.eclipse.sapphire.ui.swt.gef.model.TextModel

    }
  }
 
  private void performDirectEdit()
  {
    TextModel textModel = (TextModel)getModel();
    TextPart textPart = (TextPart)textModel.getSapphirePart();   
    if (textPart.isEditable())
    {
      TextFigure textFigure = (TextFigure)getFigure();
      if (textFigure != null)
      {
View Full Code Here

Examples of org.gephi.visualization.opengl.text.TextModel

                }
            });
            vizModel.getTextModel().addChangeListener(new ChangeListener() {

                public void stateChanged(ChangeEvent e) {
                    TextModel textModel = VizController.getInstance().getVizModel().getTextModel();
                    if (showLabelsButton.isSelected() != textModel.isShowNodeLabels()) {
                        showLabelsButton.setSelected(textModel.isShowNodeLabels());
                    }
                }
            });
            components[0] = showLabelsButton;
View Full Code Here

Examples of org.gephi.visualization.opengl.text.TextModel

                }
            });
            vizModel.getTextModel().addChangeListener(new ChangeListener() {

                public void stateChanged(ChangeEvent e) {
                    TextModel textModel = VizController.getInstance().getVizModel().getTextModel();
                    if (showLabelsButton.isSelected() != textModel.isShowEdgeLabels()) {
                        showLabelsButton.setSelected(textModel.isShowEdgeLabels());
                    }
                }
            });
            components[2] = showLabelsButton;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.