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

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


  }

  private ColorAndStyle getAnnotationTextColorAndStyle() {
    if (annotationTextColorAndStyle == null) {
      EditorThemeProperties props = EditorThemePropertiesManager.getCurrentEditorThemeProperties();
      annotationTextColorAndStyle = new ColorAndStyle("Annotation Color", props.getAnnotationTextColor(),
          props.getAnnotationTextStyle());
      annotationTextColorAndStyle.addListener(new ColorAndStyleAdapter() {
        @Override
        public void colorChanged(Color newColor) {
          EditorThemeProperties themeProps = EditorThemePropertiesManager.getCurrentEditorThemeProperties();
View Full Code Here


  }

  private ColorAndStyle getCommentTextColorAndStyle() {
    if (commentTextColorAndStyle == null) {
      EditorThemeProperties props = EditorThemePropertiesManager.getCurrentEditorThemeProperties();
      commentTextColorAndStyle = new ColorAndStyle("Comment Color", props.getCommentTextColor(),
          props.getCommentTextStyle());
      commentTextColorAndStyle.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.