private static void createTopTitleHeader(final HorizontalLayout topHeader) {
		final HorizontalLayout topTitleHeadertPanel = new HorizontalLayout();


		final Label titleLabel = new Label("Citizen Intelligence Agency");
		titleLabel.setStyleName("Header");
		topTitleHeadertPanel.addComponent(titleLabel);
		topTitleHeadertPanel.setComponentAlignment(titleLabel, Alignment.MIDDLE_LEFT);

		final Label sloganLabel = new Label("// Tracking politicians like bugs!");
		sloganLabel.setStyleName("HeaderSlogan");
		topTitleHeadertPanel.addComponent(sloganLabel);
		topTitleHeadertPanel.setComponentAlignment(sloganLabel, Alignment.MIDDLE_RIGHT);

		topHeader.addComponent(topTitleHeadertPanel);
		topHeader.setComponentAlignment(topTitleHeadertPanel, Alignment.MIDDLE_LEFT);
		topHeader.setExpandRatio(topTitleHeadertPanel, ContentRatio.GRID);
	}
private static void createTopTitleHeader(final HorizontalLayout topHeader) {
		final HorizontalLayout topTitleHeadertPanel = new HorizontalLayout();


		final Label titleLabel = new Label("Citizen Intelligence Agency");
		titleLabel.setStyleName("Header");
		topTitleHeadertPanel.addComponent(titleLabel);
		topTitleHeadertPanel.setComponentAlignment(titleLabel, Alignment.MIDDLE_LEFT);

		final Label sloganLabel = new Label("
		sloganLabel.setStyleName("HeaderSlogan");
		topTitleHeadertPanel.addComponent(sloganLabel);
		topTitleHeadertPanel.setComponentAlignment(sloganLabel, Alignment.MIDDLE_RIGHT);

		topHeader.addComponent(topTitleHeadertPanel);
		topHeader.setComponentAlignment(topTitleHeadertPanel, Alignment.MIDDLE_LEFT);
		topHeader.setExpandRatio(topTitleHeadertPanel, ContentRatio.GRID);
	}
private static void createTopTitleHeader ( final HorizontalLayout topHeader ) { final HorizontalLayout topTitleHeadertPanel = new HorizontalLayout ( ) ; final Label titleLabel = new Label ( "Citizen Intelligence Agency" ) ; titleLabel . setStyleName ( "Header" ) ; topTitleHeadertPanel . addComponent ( titleLabel ) ; topTitleHeadertPanel . setComponentAlignment ( titleLabel , Alignment . MIDDLE_LEFT ) ; final Label sloganLabel = new Label ( "// Tracking politicians like bugs!" ) ; sloganLabel . setStyleName ( "HeaderSlogan" ) ; topTitleHeadertPanel . addComponent ( sloganLabel ) ; topTitleHeadertPanel . setComponentAlignment ( sloganLabel , Alignment . MIDDLE_RIGHT ) ; topHeader . addComponent ( topTitleHeadertPanel ) ; topHeader . setComponentAlignment ( topTitleHeadertPanel , Alignment . MIDDLE_LEFT ) ; topHeader . setExpandRatio ( topTitleHeadertPanel , ContentRatio . GRID ) ; }
Creates the top title header.

@param topHeader
the top header
Creates the top title header .