corelib.services.web.components.codecolorers
Class CLikeColorer

java.lang.Object
  extended by corelib.services.web.components.WebComponent
      extended by corelib.services.web.components.VisualComponent
          extended by corelib.services.web.components.codecolorers.CodeColorer
              extended by corelib.services.web.components.codecolorers.CLikeColorer
Direct Known Subclasses:
JavaCodeColorer, JavascriptCodeColorer

public abstract class CLikeColorer
extends CodeColorer

Since:
0.3.2
Author:
Dominique Liard

Field Summary
protected static java.awt.Color COMMENT_COLOR
           
protected static java.awt.Color DOC_COMMENT_COLOR
           
protected static java.awt.Color KEYWORD_COLOR
           
protected  java.lang.String[] keywords
           
protected static java.awt.Color STRING_COLOR
           
 
Fields inherited from class corelib.services.web.components.codecolorers.CodeColorer
caption, codeBuffer, codeFilename, DEFAULT_COLOR, lineNumbers
 
Fields inherited from class corelib.services.web.components.VisualComponent
cssClass, cssStyle, toolTipText, visible
 
Fields inherited from class corelib.services.web.components.WebComponent
dataBindings, webPage, xmlNode
 
Constructor Summary
CLikeColorer()
           
 
Method Summary
protected  boolean isKeyword(java.lang.String identifier)
           
 
Methods inherited from class corelib.services.web.components.codecolorers.CodeColorer
colorToHtml, component_load, component_renderBegin, getCaption, getCodeFilename, getLineNumbers, parse, setCaption, setCodeFilename, setLineNumbers
 
Methods inherited from class corelib.services.web.components.VisualComponent
component_postRender, component_preRender, component_renderChildren, component_renderEnd, component_renderJavascriptLocalisation, encodeAttributeValue, getCssClass, getCssStyle, getOnClickListener, getSharedAttributesHtmlEncoding, getToolTipText, isVisible, renderElement, setCssClass, setCssStyle, setOnClickListener, setToolTipText, setVisible
 
Methods inherited from class corelib.services.web.components.WebComponent
addBindingExpression, addChildComponent, component_init, component_preRepeaterDuplications, getChildComponents, getDataBinding, getElementsByTagName, getId, getWebPage, getXmlNode, setId, setWebPage, setXmlNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEYWORD_COLOR

protected static final java.awt.Color KEYWORD_COLOR

COMMENT_COLOR

protected static final java.awt.Color COMMENT_COLOR

DOC_COMMENT_COLOR

protected static final java.awt.Color DOC_COMMENT_COLOR

STRING_COLOR

protected static final java.awt.Color STRING_COLOR

keywords

protected java.lang.String[] keywords
Constructor Detail

CLikeColorer

public CLikeColorer()
Method Detail

isKeyword

protected boolean isKeyword(java.lang.String identifier)


CAUTION: Ellipse is proposed to you in BETA version to allow evaluation of this framework. Infini Software is released from any responsibility for the use of Ellipse Framework.

Copyright 2012 Infini Software - All Rights Reserved.