Examples of Title


Examples of com.colorfulsoftware.rss.Title

    } catch (RSSpectException r) {
      assertEquals(r.getMessage(), "title SHOULD NOT be blank.");
    }

    try {
      Title title = rssDoc.buildTitle("the title");
      assertNotNull(title);
      assertEquals(title.getTitle(), "the title");
    } catch (RSSpectException r) {
      fail("should not get here.");
    }
  }
View Full Code Here

Examples of com.dodo.blog.ui.component.container.Title

    }

    public void setHeader( String header )
    {
        layout.getH1().setInnerHtml( header );
        layout.getHead().add( new Title( header ) );
    }
View Full Code Here

Examples of com.extentech.formats.OOXML.Title

        // chart
        cooxml.append("<c:chart>"); cooxml.append("\r\n");
        // title
        if (this.getOOXMLTitle()==null) {// if no OOXML title, see if have a BIFF8 title
          if (!this.getTitle().equals("")) {
            this.setOOXMLTitle(new Title(this.getTitleTd(), this.wbh.getWorkBook()), this.wbh);
          }
        }
        if (this.getOOXMLTitle()!=null// otherwise there's no title
          cooxml.append(this.getOOXMLTitle().getOOXML());
View Full Code Here

Examples of com.gamingmesh.jobs.container.Title

     * Function to return the title for a given level
     * @return the correct title
     * @return null if no title matches
     */
    public Title getTitleForLevel(int level) {
        Title title = null;
        for (Title t: titles) {
            if (title == null) {
                if (t.getLevelReq() <= level) {
                    title = t;
                }
            } else {
                if (t.getLevelReq() <= level && t.getLevelReq() > title.getLevelReq()) {
                    title = t;
                }
            }
        }
        return title;
View Full Code Here

Examples of com.gamingmesh.jobs.container.Title

            if (levelReq <= -1) {
                Jobs.getPluginLogger().severe("Title " + titleKey + " has an invalid levelReq property. Skipping!");
                continue;
            }
           
            this.titles.add(new Title(titleName, titleShortName, titleColor, levelReq));
        }
       
        try {
            conf.save(f);
        } catch (IOException e) {
View Full Code Here

Examples of com.gamingmesh.jobs.container.Title

            message = Language.getMessage("message.levelup.broadcast");
        } else {
            message = Language.getMessage("message.levelup.nobroadcast");
        }
        message = message.replace("%jobname%", job.getChatColor() + job.getName() + ChatColor.WHITE);
        Title oldTitle = ConfigManager.getJobsConfiguration().getTitleForLevel(oldLevel);
        if (oldTitle != null) {
            message = message.replace("%titlename%", oldTitle.getChatColor() + oldTitle.getName() + ChatColor.WHITE);
        }
        if (player != null) {
            message = message.replace("%playername%", player.getDisplayName());
        } else {
            message = message.replace("%playername%", jPlayer.getUserName());
        }
        message = message.replace("%joblevel%", ""+prog.getLevel());
        for (String line: message.split("\n")) {
            if (ConfigManager.getJobsConfiguration().isBroadcastingLevelups()) {
                Bukkit.getServer().broadcastMessage(line);
            } else if (player != null) {
                player.sendMessage(line);
            }
        }
       
        Title newTitle = ConfigManager.getJobsConfiguration().getTitleForLevel(prog.getLevel());
        if (newTitle != null && !newTitle.equals(oldTitle)) {
            // user would skill up
            if (ConfigManager.getJobsConfiguration().isBroadcastingSkillups()) {
                message = Language.getMessage("message.skillup.broadcast");
            } else {
                message = Language.getMessage("message.skillup.nobroadcast");
            }
            if (player != null) {
                message = message.replace("%playername%", player.getDisplayName());
            } else {
                message = message.replace("%playername%", jPlayer.getUserName());
            }
            message = message.replace("%titlename%", newTitle.getChatColor() + newTitle.getName() + ChatColor.WHITE);
            message = message.replace("%jobname%", job.getChatColor() + job.getName() + ChatColor.WHITE);
            for (String line: message.split("\n")) {
                if (ConfigManager.getJobsConfiguration().isBroadcastingLevelups()) {
                    Bukkit.getServer().broadcastMessage(line);
                } else if (player != null) {
View Full Code Here

Examples of com.google.api.explorer.client.routing.TitleSupplier.Title

      container.add(new InlineHyperlink(notLast.getTitle(), notLast.getFragment()));
      container.add(new InlineLabel(" > "));
    }

    // Append only the text for the last title.
    Title lastTitle = Iterables.getLast(titles);
    container.add(new InlineLabel(lastTitle.getTitle()));
    if (lastTitle.getSubtitle() != null) {
      Label subtitle = new InlineLabel(" - " + lastTitle.getSubtitle());
      subtitle.addStyleName(style.methodSubtitle());
      container.add(subtitle);
    }
  }
View Full Code Here

Examples of com.googlecode.wickedcharts.highcharts.options.Title

        max = maxOf(max, BigDecimal.ZERO);
       
        Options options = new Options();
        options.setChartOptions(new ChartOptions().setType(SeriesType.COLUMN));
       
        options.setTitle(new Title("Summary"));
       
        options.setxAxis(new Axis().setCategories(titles));
        options.setyAxis(new Axis().setMin(min).setMax(max));
       
        options.setLegend(
View Full Code Here

Examples of com.googlecode.wickedcharts.highcharts.options.Title

    private WickedChart createChartValue(String title, List<String> titles, List<Number> values, Number min, Number max) {
        Options options = new Options();
        options.setChartOptions(new ChartOptions().setType(SeriesType.COLUMN));
       
        options.setTitle(new Title(title));
       
        options.setxAxis(new Axis().setCategories(titles));
        options.setyAxis(new Axis().setMin(min).setMax(max));
       
        options.setLegend(
View Full Code Here

Examples of com.gwtplatform.mvp.client.annotations.Title

            getGatekeeperMethod = method.getName();
          }
        }
      }

      Title titleAnnotation = proxyInterface.getAnnotation(Title.class);
      if (titleAnnotation != null) {
        title = titleAnnotation.value();
      }
    }
    TitleFunctionDescription titleFunctionDescription = findTitleFunction(
        logger, presenterClass, presenterClassName, ginjectorClassName,
        ginjectorClass);
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.