Examples of Types


Examples of org.rzo.yajsw.wrapper.TrayIconProxy.Types

      return;
    if (messages == null)
      return;
    for (String[] message : messages)
    {
      Types type = Types.valueOf(message[0]);
      switch (type)
      {
      case ERROR:
        _trayIcon.error(message[1], message[2]);
        break;
View Full Code Here

Examples of org.sgx.yuigwt.editors.Types

      return;

    this.y = y;

    started = true;
    Types types = Types.getInstance();

    types.registerEditor("BooleanEditor1", TYPE_BOOLEAN, Boolean.class, new EditorCreator<Boolean>() {
      @Override
      public Editor<Boolean> create() {
        return new BooleanEditor1(y);
      }
    });

    types.registerEditor("StringEditor1", TYPE_STRING, String.class, new EditorCreator<String>() {
      @Override
      public Editor<String> create() {
        return new StringEditor1(y);
      }
    });

    types.registerEditor("IntegerEditor1", TYPE_INTEGER, Integer.class, new EditorCreator<Integer>() {
      @Override
      public Editor<Integer> create() {
        return new IntegerEditor1(y);
      }
    });

    types.registerEditor("IntegerEditor1", TYPE_COLOR, Color.class, new EditorCreator<Color>() {
      @Override
      public Editor<Color> create() {
        return new ColorEditor(y);
      }
    });

    types.registerEditor("IntegerEditor1", TYPE_PROPERTYHAVER, PropertyHaver.class, new EditorCreator<PropertyHaver>() {
      @Override
      public Editor<PropertyHaver> create() {
        return new PropertyHaverEditor2<PropertyHaver>(y);
      }
    });
View Full Code Here

Examples of ru.vassaev.core.db.Types

  public synchronized void loadInfoFromSource(DatabaseMetaData md)
    throws SQLException, SysException {
    ResultSet rs = md.getTypeInfo();
    try {
        Types t = Manager.getTypes(md.getConnection());
      while (rs.next()) {
        Row inf = new Row();

        inf.TYPE_NAME = t.getString(rs, "TYPE_NAME");
        inf.DATA_TYPE = t.getInteger(rs, "DATA_TYPE");
        inf.PRECISION = t.getLong(rs, "PRECISION");
        inf.LITERAL_PREFIX = t.getString(rs, "LITERAL_PREFIX");
        inf.LITERAL_SUFFIX = t.getString(rs, "LITERAL_SUFFIX");
        inf.CREATE_PARAMS = t.getString(rs, "CREATE_PARAMS");
        inf.NULLABLE = t.getShort(rs, "NULLABLE");
        inf.CASE_SENSITIVE = t.getBoolean(rs, "CASE_SENSITIVE");
        inf.SEARCHABLE = t.getShort(rs, "SEARCHABLE");
        inf.UNSIGNED_ATTRIBUTE = t.getBoolean(rs, "UNSIGNED_ATTRIBUTE");
        inf.FIXED_PREC_SCALE = t.getBoolean(rs, "FIXED_PREC_SCALE");
        inf.AUTO_INCREMENT = t.getBoolean(rs, "AUTO_INCREMENT");

        inf.LOCAL_TYPE_NAME = t.getString(rs, "LOCAL_TYPE_NAME");
        inf.MINIMUM_SCALE = t.getShort(rs, "MINIMUM_SCALE");
        inf.MAXIMUM_SCALE = t.getShort(rs, "MAXIMUM_SCALE");
        inf.SQL_DATA_TYPE = t.getInteger(rs, "SQL_DATA_TYPE");
        inf.SQL_DATETIME_SUB = t.getInteger(rs, "SQL_DATETIME_SUB");
        inf.NUM_PREC_RADIX = t.getInteger(rs, "NUM_PREC_RADIX");

        addRowAt(inf, getRowCount());
      }
    } finally {
      rs.close();
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.