Examples of Property


Examples of net.minecraft.src.forge.Property

      config.load();
      this.blockIDCraftingTableIII = Integer.parseInt(config.getOrCreateIntProperty("blockIDCraftingTableIII", "block", blockIDCraftingTableIII).value);
      this.EnableSound = Boolean.parseBoolean(config.getOrCreateBooleanProperty("enableSound", "general", true).value);
      this.EnableDoor = Boolean.parseBoolean(config.getOrCreateBooleanProperty("enableDoor", "general", true).value);
     
      Property temp = config.getOrCreateBooleanProperty("ShowTimings", "general", this.ShowTimings);
      temp.comment = "Set to true if you are lagging and Zeldo wants your Timings";
      this.ShowTimings = Boolean.parseBoolean(temp.value);
     
      temp = config.getOrCreateBooleanProperty("CheckForUpdates", "general", this.CheckForUpdates);
      temp.comment = "Keep on true unless you don't want the newest versions";
View Full Code Here

Examples of net.minecraft.util.com.mojang.authlib.properties.Property

   * @param value - the value of the property.
   * @param signature - the BASE64-encoded signature of the value.
   * @return The signed property.
   */
  public WrappedSignedProperty(String name, String value, String signature) {
    this(new Property(name, value, signature));
  }
View Full Code Here

Examples of net.minecraftforge.common.Property

    ENABLE_MANIPULATOR = configuration.get(Configuration.CATEGORY_GENERAL, "Enable Force Manipulator", ENABLE_MANIPULATOR).getBoolean(ENABLE_MANIPULATOR);

    FORTRON_PRODUCTION_MULTIPLIER = configuration.get(Configuration.CATEGORY_GENERAL, "Fortron Production Multiplier", FORTRON_PRODUCTION_MULTIPLIER).getDouble(FORTRON_PRODUCTION_MULTIPLIER);

    Property propFieldScale = configuration.get(Configuration.CATEGORY_GENERAL, "Max Force Field Scale", MAX_FORCE_FIELD_SCALE);
    MAX_FORCE_FIELD_SCALE = propFieldScale.getInt(MAX_FORCE_FIELD_SCALE);

    Property propInterdiction = configuration.get(Configuration.CATEGORY_GENERAL, "Interdiction Murder Fortron Consumption", INTERDICTION_MURDER_ENERGY);
    INTERDICTION_MURDER_ENERGY = propInterdiction.getInt(INTERDICTION_MURDER_ENERGY);

    Property propCreative = configuration.get(Configuration.CATEGORY_GENERAL, "Effect Creative Players", INTERACT_CREATIVE);
    propCreative.comment = "Should the interdiction matrix interact with creative players?.";
    INTERACT_CREATIVE = propCreative.getBoolean(INTERACT_CREATIVE);

    Property propChunkLoading = configuration.get(Configuration.CATEGORY_GENERAL, "Load Chunks", LOAD_CHUNKS);
    propChunkLoading.comment = "Set this to false to turn off the MFFS Chunkloading capabilities.";
    LOAD_CHUNKS = propChunkLoading.getBoolean(LOAD_CHUNKS);

    Property propOpOverride = configuration.get(Configuration.CATEGORY_GENERAL, "Op Override", OP_OVERRIDE);
    propOpOverride.comment = "Allow the operator(s) to override security measures created by MFFS?";
    OP_OVERRIDE = propOpOverride.getBoolean(OP_OVERRIDE);

    Property propUseCache = configuration.get(Configuration.CATEGORY_GENERAL, "Use Cache", USE_CACHE);
    propUseCache.comment = "Cache allows temporary data saving to decrease calculations required.";
    USE_CACHE = propUseCache.getBoolean(USE_CACHE);

    Property maxFFGenPerTick = configuration.get(Configuration.CATEGORY_GENERAL, "Field Calculation Per Tick", MAX_FORCE_FIELDS_PER_TICK);
    maxFFGenPerTick.comment = "How many force field blocks can be generated per tick? Less reduces lag.";
    MAX_FORCE_FIELDS_PER_TICK = maxFFGenPerTick.getInt(MAX_FORCE_FIELDS_PER_TICK);

    Property interdictionRange = configuration.get(Configuration.CATEGORY_GENERAL, "Field Calculation Per Tick", INTERDICTION_MAX_RANGE);
    interdictionRange.comment = "The maximum range for the interdiction matrix.";
    INTERDICTION_MAX_RANGE = interdictionRange.getInt(INTERDICTION_MAX_RANGE);

    Property useElectricity = configuration.get(Configuration.CATEGORY_GENERAL, "Require Electricity?", ENABLE_ELECTRICITY);
    useElectricity.comment = "Turning this to false will make MFFS run without electricity or energy systems required. Great for vanilla!";
    ENABLE_ELECTRICITY = useElectricity.getBoolean(ENABLE_ELECTRICITY);

    Property conservePackets = configuration.get(Configuration.CATEGORY_GENERAL, "Conserve Packets?", CONSERVE_PACKETS);
    conservePackets.comment = "Turning this to false will enable better client side packet and updates but in the cost of more packets sent.";
    CONSERVE_PACKETS = conservePackets.getBoolean(CONSERVE_PACKETS);

    Property highGraphics = configuration.get(Configuration.CATEGORY_GENERAL, "High Graphics", HIGH_GRAPHICS);
    highGraphics.comment = "Turning this to false will reduce rendering and client side packet graphical packets.";
    CONSERVE_PACKETS = highGraphics.getBoolean(HIGH_GRAPHICS);

    Property forceManipulatorBlacklist = configuration.get(Configuration.CATEGORY_GENERAL, "Force Manipulator Blacklist", "");
    forceManipulatorBlacklist.comment = "Put a list of block IDs to be not-moved by the force manipulator. Separate by commas, no space.";
    String blackListManipulate = forceManipulatorBlacklist.getString();
    Blacklist.forceManipulationBlacklist.addAll(LanguageUtility.decodeIDSplitByComma(blackListManipulate));

    Property blacklist1 = configuration.get(Configuration.CATEGORY_GENERAL, "Stabilization Blacklist", "");
    String blackListStabilize = blacklist1.getString();
    Blacklist.stabilizationBlacklist.addAll(LanguageUtility.decodeIDSplitByComma(blackListStabilize));

    Property blacklist2 = configuration.get(Configuration.CATEGORY_GENERAL, "Disintegration Blacklist", "");
    String blackListDisintegrate = blacklist1.getString();
    Blacklist.disintegrationBlacklist.addAll(LanguageUtility.decodeIDSplitByComma(blackListDisintegrate));

    configuration.save();
  }
View Full Code Here

Examples of net.minecraftforge.common.config.Property

    return !modsForbidden.contains(modid) && !blocksForbidden.contains(name);
  }

  public static void readConfiguration (Configuration conf) {
    Property excludedMods = conf.get(Configuration.CATEGORY_GENERAL, "builder.excludedMods", new String [0],
        "mods that should be excluded from the builder.");
    Property excludedBlocks = conf.get(Configuration.CATEGORY_GENERAL, "builder.excludedBlocks", new String [0],
        "blocks that should be excluded from the builder.");

    for (String id : excludedMods.getStringList()) {
      String strippedId = JavaTools.stripSurroundingQuotes(id.trim());

      if (strippedId.length() > 0) {
        modsForbidden.add(strippedId);
      }
    }

    for (String id : excludedBlocks.getStringList()) {
      String strippedId = JavaTools.stripSurroundingQuotes(id.trim());

      if (strippedId.length() > 0) {
        blocksForbidden.add(strippedId);
      }
View Full Code Here

Examples of net.sf.gwtseam.model.Property

  {
    public void execute()
    {
      String name = getAttributes().getValue("name");
      String value = getAttributes().getValue("value");
      Property property = new Property ();
      property.setName(name);
      property.setValue(value);
      currentBlock.getProperties().add (property);
    }
View Full Code Here

Examples of net.sf.hajdbc.sql.AbstractDatabaseClusterConfiguration.Property

  {
    List<Property> properties = new ArrayList<Property>(this.properties.size());
   
    for (Map.Entry<String, String> entry: this.properties.entrySet())
    {
      Property property = new Property();
      property.setName(entry.getKey());
      property.setValue(entry.getValue());
      properties.add(property);
    }
   
    return properties.toArray(new Property[properties.size()]);
  }
View Full Code Here

Examples of net.sf.jhylafax.DetailsDialog.Property

    public void actionPerformed(ActionEvent e)
    {
      FaxJob job = getSelectedJob();
      List<Property> data = new ArrayList<Property>();
      data.add(new Property(i18n.tr("Assigned modem"), job.getAssignedModem()));
      data.add(new Property(i18n.tr("Client-specefied dial string"), job.getClientDialString()));
      data.add(new Property(i18n.tr("Client machine name"), job.getClientMachineName()));
      data.add(new Property(i18n.tr("Scheduling priority"), job.getClientSchedulingPriority()));
      data.add(new Property(i18n.tr("Communication identifier"), job.getCommunicationIdentifier()));
      data.add(new Property(i18n.tr("Page chopping threshold"), job.getChoppingThreshold()));
      data.add(new Property(i18n.tr("Client-specified minimum signalling rate"), job.getClientMinimumSignallingRate()));
      data.add(new Property(i18n.tr("Client-specified tag"), job.getTag()));
      data.add(new Property(i18n.tr("Client-specified tagline format"), job.getTaglineFormat()));
      data.add(new Property(i18n.tr("# of consecutive failed dials"), job.getConsecutiveFailedDials()));
      data.add(new Property(i18n.tr("# of consecutive failed tries"), job.getConsecutiveFailedTries()));
      data.add(new Property(i18n.tr("Desired data format"), job.getDesiredDataFormat()));
      data.add(new Property(i18n.tr("Desired use of ECM"), job.getDesiredECM()));
      data.add(new Property(i18n.tr("Desired minimum scanline time"), job.getDesiredMinScanline()));
      data.add(new Property(i18n.tr("Desired signalling rate"), job.getDesiredSignallingRate()));
      data.add(new Property(i18n.tr("Destination company name"), job.getDestinationCompanyName()));
      data.add(new Property(i18n.tr("Destination geographic location"), job.getDestinationLocation()));
      data.add(new Property(i18n.tr("Destination password"), job.getDestinationPassword()));
      data.add(new Property(i18n.tr("Destination sub-address"), job.getDestinationSubAddress()));
      data.add(new Property(i18n.tr("# of attempted dials"), job.getDialsAttempted()));
      data.add(new Property(i18n.tr("Group identifier"), job.getGroupID()));
      data.add(new Property(i18n.tr("Horizontal resolution"), job.getHorizontalResolution()));
      data.add(new Property(i18n.tr("ID"), job.getID()));
      data.add(new Property(i18n.tr("Job done operation"), job.getJobDoneOperation()));
      data.add(new Property(i18n.tr("Job type"), job.getJobType()));
      data.add(new Property(i18n.tr("Kill time"), job.getKillTime()));
      data.add(new Property(i18n.tr("Last error"), job.getLastError()));
      data.add(new Property(i18n.tr("Total # of dials"), job.getMaxDials()));
      data.add(new Property(i18n.tr("Total # of tries"), job.getMaxTries()));
      data.add(new Property(i18n.tr("Notify"), job.getNotify()));
      data.add(new Property(i18n.tr("Notify address"), job.getNotifyAdress()));
      data.add(new Property(i18n.tr("Number"), job.getNumber()));
      data.add(new Property(i18n.tr("Owner"), job.getOwner()));
      data.add(new Property(i18n.tr("Page chopping"), job.getPageChopping()));
      data.add(new Property(i18n.tr("Permissions"), job.getPermissions()));
      data.add(new Property(i18n.tr("Total # of pages"), job.getPageCount()));
      data.add(new Property(i18n.tr("Page length"), job.getPageLength()));
      data.add(new Property(i18n.tr("# of transmitted pages"), job.getPagesTransmitted()));
      data.add(new Property(i18n.tr("Page width"), job.getPageWidth()));
      data.add(new Property(i18n.tr("Priority"), job.getPriority()));
      data.add(new Property(i18n.tr("Receiver"), job.getReceiver()));
      data.add(new Property(i18n.tr("Result"), job.getResult()));
      data.add(new Property(i18n.tr("Retry time"), job.getRetryTime()));
      data.add(new Property(i18n.tr("Sender"), job.getSender()));
      data.add(new Property(i18n.tr("Send time"), job.getSendTime()));
      data.add(new Property(i18n.tr("State"), job.getState()));
      data.add(new Property(i18n.tr("Vertical resolution"), job.getVerticalResolution()));
      DetailsDialog dialog = new DetailsDialog(JHylaFAX.getInstance(), data);
      dialog.setLocationRelativeTo(JHylaFAX.getInstance());
      dialog.setVisible(true);
    }
View Full Code Here

Examples of net.sf.minuteProject.configuration.bean.system.Property

    return key + template.getName() +"."+template.getFileExtension();
  }

  private static String getKeyPrefix(Template template) {
    StringBuffer sb = new StringBuffer();
    Property property = template.getPropertyByName("key");
    for (String chunk : ParserUtils.getList(property.getValue())) {
      sb.append(chunk + "_");
    }
    return sb.toString();
  }
View Full Code Here

Examples of net.sf.redmine_mylyn.api.model.Property

        } else {
          Iterator<?> valIterator = selection.iterator();
          while(valIterator.hasNext()) {
            Object obj = valIterator.next();
            if  (obj instanceof Property) {
              Property property = (Property)obj;
              query.addFilter(queryField, definition, operator, ""+property.getId()); //$NON-NLS-1$
            } else {
              query.addFilter(queryField, definition, operator, obj.toString());
            }
          }
        }
View Full Code Here

Examples of net.sourceforge.marathon.util.PropertyList.Property

        @Override
        public TableCellRenderer getCellRenderer(int row, int column) {
            if (column == 0)
                return super.getCellRenderer(row, column);
            PropertyTableModel model = (PropertyTableModel) getModel();
            Property property = model.getProperty(row);
            if (property.getKlass().equals(Color.class))
                return new ColorRenderer(false);
            if (property.getKlass().equals(Font.class))
                return new FontRenderer();
            return super.getCellRenderer(row, column);
        }
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.