Package net.helipilot50.stocktrade.framework

Examples of net.helipilot50.stocktrade.framework.TextData$qq_Resolver


    public static TextData get(DataField comp){
        NumericTemplate action = ActionMgr.getAction(comp, NumericTemplate.class);
        if (action != null) {
            return action.value;
        }
        return new TextData(comp.getOriginalFormatText());

    }
View Full Code Here


     * no action is performed as all the methods here act immediately
     */
  }
 
  public static void set(JComponent comp, String link){
    set(comp, new TextData(link));
  }
View Full Code Here

        if (value != null){
            String[] parts = value.toString().split("\n");
            if (parts.length > 0) {
        value.setValue(parts[0]);
        if (parts.length > 1) {
          ActionMgr.addAction(new StatusText(comp, new TextData(parts[1])));
        }
      }
        }
        ActionMgr.addAction(new FloatOverText(comp, value));
    }
View Full Code Here

        }
        ActionMgr.addAction(new FloatOverText(comp, value));
    }
   
    public static void set(JComponent comp, String value) {
        set(comp, new TextData(value));
    }
View Full Code Here

    public static boolean isEnabled() {
      return FloatOverText.showToolTips;
    }

    public static TextData get(JComponent comp){
        TextData value;
        FloatOverText action = ActionMgr.getAction(comp, FloatOverText.class);
        if (action != null) {
            value = ((FloatOverText)action).value;
        } else {
                value = new TextData(comp.getToolTipText());
        }
        return value;
    }
View Full Code Here

        for (ListElement orig : pOrig) {
          ListElement clone = new ListElement(
              orig.getImageValue(),
              orig.getIntegerValue(),
              orig.getObjectValue(),
              new TextData(orig.getTextValue()),
              ListElement.qq_Resolver.cIMAGEVALUE_INTEGERVALUE_OBJECTVALUE_TEXTVALUE);
          result.add(clone);
        }
        return result;
      }
View Full Code Here

        super(pComponent);
        this.value = pValue;
    }

    public TextData getValue() {
        return new TextData(this.value);
    }
View Full Code Here

     */
    public static void set(DataField comp, double value) {
        ActionMgr.addAction(new TextValue(comp, new TextNullable(Double.toString(value))));
    }
    public static void set(ListField comp, String value){
        set(comp, new TextData(value));
    }
View Full Code Here

        else if (comp instanceof FillInField)
            ActionMgr.addAction(new TextValue((FillInField)comp, value));
    }

    public static TextData get(JTextComponent comp){
        TextData value;
        TextValue action = ActionMgr.getAction(comp, TextValue.class);
        if (action != null) {
            value = ((TextValue)action).getValue();
            if (!(value instanceof TextNullable)) {
              value = new TextNullable(value);
View Full Code Here

        }
        return value;
    }

    public static TextData getWithCharacterField(CharacterField comp){
        TextData value = null;
        if (comp instanceof DataField){
            value = get((DataField)comp);
        } else if (comp instanceof JTextComponent){
          value = get((JTextComponent)comp);
        } else if (comp instanceof FillInField){
View Full Code Here

TOP

Related Classes of net.helipilot50.stocktrade.framework.TextData$qq_Resolver

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.