Package net.sf.robocode.ui.editor.theme

Examples of net.sf.robocode.ui.editor.theme.ColorAndStyle


  }

  private ColorAndStyle getBackgroundColorAndStyle() {
    if (backgroundColorAndStyle == null) {
      EditorThemeProperties props = EditorThemePropertiesManager.getCurrentEditorThemeProperties();
      backgroundColorAndStyle = new ColorAndStyle("Background Color", props.getBackgroundColor(), null);
      backgroundColorAndStyle.addListener(new ColorAndStyleAdapter() {
        @Override
        public void colorChanged(Color newColor) {
          EditorThemeProperties themeProps = EditorThemePropertiesManager.getCurrentEditorThemeProperties();
          themeProps.setBackgroundColor(newColor);
View Full Code Here


  }

  private ColorAndStyle getLineNumberBackgroundColorAndStyle() {
    if (lineNumberBackgroundColorAndStyle == null) {
      EditorThemeProperties props = EditorThemePropertiesManager.getCurrentEditorThemeProperties();
      lineNumberBackgroundColorAndStyle = new ColorAndStyle("Line Number Background Color",
          props.getLineNumberBackgroundColor(), null);
      lineNumberBackgroundColorAndStyle.addListener(new ColorAndStyleAdapter() {
        @Override
        public void colorChanged(Color newColor) {
          EditorThemeProperties themeProps = EditorThemePropertiesManager.getCurrentEditorThemeProperties();
View Full Code Here

  }

  private ColorAndStyle getLineNumberTextColorAndStyle() {
    if (lineNumberTextColorAndStyle == null) {
      EditorThemeProperties props = EditorThemePropertiesManager.getCurrentEditorThemeProperties();
      lineNumberTextColorAndStyle = new ColorAndStyle("Line Number Text Color", props.getLineNumberTextColor(),
          null);
      lineNumberTextColorAndStyle.addListener(new ColorAndStyleAdapter() {
        @Override
        public void colorChanged(Color newColor) {
          EditorThemeProperties themeProps = EditorThemePropertiesManager.getCurrentEditorThemeProperties();
View Full Code Here

  }

  private ColorAndStyle getHighlightedLineColorAndStyle() {
    if (highlightedLineColorAndStyle == null) {
      EditorThemeProperties props = EditorThemePropertiesManager.getCurrentEditorThemeProperties();
      highlightedLineColorAndStyle = new ColorAndStyle("Highlighted Line Color", props.getHighlightedLineColor(),
          null);
      highlightedLineColorAndStyle.addListener(new ColorAndStyleAdapter() {
        @Override
        public void colorChanged(Color newColor) {
          EditorThemeProperties themeProps = EditorThemePropertiesManager.getCurrentEditorThemeProperties();
View Full Code Here

  }

  private ColorAndStyle getSelectionColorAndStyle() {
    if (selectionColorAndStyle == null) {
      EditorThemeProperties props = EditorThemePropertiesManager.getCurrentEditorThemeProperties();
      selectionColorAndStyle = new ColorAndStyle("Selection Color", props.getSelectionColor(), null);
      selectionColorAndStyle.addListener(new ColorAndStyleAdapter() {
        @Override
        public void colorChanged(Color newColor) {
          EditorThemeProperties themeProps = EditorThemePropertiesManager.getCurrentEditorThemeProperties();
          themeProps.setSelectionColor(newColor);
View Full Code Here

  }

  private ColorAndStyle getSelectedTextColorAndStyle() {
    if (selectedTextColorAndStyle == null) {
      EditorThemeProperties props = EditorThemePropertiesManager.getCurrentEditorThemeProperties();
      selectedTextColorAndStyle = new ColorAndStyle("Selected Text Color", props.getSelectedTextColor(), null);
      selectedTextColorAndStyle.addListener(new ColorAndStyleAdapter() {
        @Override
        public void colorChanged(Color newColor) {
          EditorThemeProperties themeProps = EditorThemePropertiesManager.getCurrentEditorThemeProperties();
          themeProps.setSelectedTextColor(newColor);
View Full Code Here

  }

  private ColorAndStyle getNormalTextColorAndStyle() {
    if (normalTextColorAndStyle == null) {
      EditorThemeProperties props = EditorThemePropertiesManager.getCurrentEditorThemeProperties();
      normalTextColorAndStyle = new ColorAndStyle("Normal Text Color", props.getNormalTextColor(),
          props.getNormalTextStyle());
      normalTextColorAndStyle.addListener(new ColorAndStyleAdapter() {
        @Override
        public void colorChanged(Color newColor) {
          EditorThemeProperties themeProps = EditorThemePropertiesManager.getCurrentEditorThemeProperties();
View Full Code Here

  }

  private ColorAndStyle getQuotedTextColorAndStyle() {
    if (quotedTextColorAndStyle == null) {
      EditorThemeProperties props = EditorThemePropertiesManager.getCurrentEditorThemeProperties();
      quotedTextColorAndStyle = new ColorAndStyle("Quoted Text Color", props.getQuotedTextColor(),
          props.getQuotedTextStyle());
      quotedTextColorAndStyle.addListener(new ColorAndStyleAdapter() {
        @Override
        public void colorChanged(Color newColor) {
          EditorThemeProperties themeProps = EditorThemePropertiesManager.getCurrentEditorThemeProperties();
View Full Code Here

  }

  private ColorAndStyle getKeywordTextColorAndStyle() {
    if (keywordTextColorAndStyle == null) {
      EditorThemeProperties props = EditorThemePropertiesManager.getCurrentEditorThemeProperties();
      keywordTextColorAndStyle = new ColorAndStyle("Keyword Color", props.getKeywordTextColor(),
          props.getKeywordTextStyle());
      keywordTextColorAndStyle.addListener(new ColorAndStyleAdapter() {
        @Override
        public void colorChanged(Color newColor) {
          EditorThemeProperties themeProps = EditorThemePropertiesManager.getCurrentEditorThemeProperties();
View Full Code Here

  }

  private ColorAndStyle getLiteralTextColorAndStyle() {
    if (literalTextColorAndStyle == null) {
      EditorThemeProperties props = EditorThemePropertiesManager.getCurrentEditorThemeProperties();
      literalTextColorAndStyle = new ColorAndStyle("Literal Color", props.getLiteralTextColor(),
          props.getLiteralTextStyle());
      literalTextColorAndStyle.addListener(new ColorAndStyleAdapter() {
        @Override
        public void colorChanged(Color newColor) {
          EditorThemeProperties themeProps = EditorThemePropertiesManager.getCurrentEditorThemeProperties();
View Full Code Here

TOP

Related Classes of net.sf.robocode.ui.editor.theme.ColorAndStyle

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.