| javax.swing.JPanel org.netbeans.editor.ext.java.JCCellRenderer
JCCellRenderer | public class JCCellRenderer extends JPanel implements ListCellRenderer(Code) | | Java completion query specifications
author: Miloslav Metelka version: 1.00 |
Method Summary | |
protected void | draw(Graphics g) | protected void | drawClass(Graphics g, JCClass cls) | protected void | drawConstructor(Graphics g, JCConstructor ctr) | protected void | drawExceptions(Graphics g, JCConstructor ctr) | protected void | drawField(Graphics g, JCField fld) | protected void | drawIcon(Graphics g, Icon icon) Draw the icon if it is valid for the given type. | protected void | drawMethod(Graphics g, JCMethod mtd) | protected void | drawPackage(Graphics g, JCPackage pkg) | protected void | drawParameter(Graphics g, JCParameter prm) | protected void | drawParameterList(Graphics g, JCConstructor ctr) | protected void | drawString(Graphics g, String s) | protected void | drawString(Graphics g, String s, int type) | protected void | drawString(Graphics g, String s, Color c) Draw string with given color which is first possibly modified by calling
getColor() method to care about selection etc. | protected void | drawStringToGraphics(Graphics g, String s) | protected void | drawType(Graphics g, JCType typ) | protected Color | getColor(String s, Color defaultColor) | public int | getIconTextGap() | public Component | getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) | public Dimension | getPreferredSize() | protected Color | getTypeColor(String s) | protected int | getWidth(String s) | public void | paintComponent(Graphics g) | public void | setClassDisplayFullName(boolean classDisplayFullName) | public void | setClassDisplayOffset(int classDisplayOffset) | public void | setDisplayStaticWord(boolean displayStaticWord) | public void | setFont(Font font) | public void | setForeColor(Color color, int type) | public void | setForeColor(Color color, int type, int level) | public void | setIcon(Icon icon, int type) | public void | setIcon(Icon icon, int type, int level) | public void | setIconTextGap(int iconTextGap) | public void | setPackageLastNameOnly(boolean packageLastNameOnly) |
CLASS_COLOR | final public static int CLASS_COLOR(Code) | | |
CLASS_ICON | final public static int CLASS_ICON(Code) | | |
CONSTRUCTOR_COLOR | final public static int CONSTRUCTOR_COLOR(Code) | | |
CONSTRUCTOR_ICON | final public static int CONSTRUCTOR_ICON(Code) | | |
FIELD_COLOR | final public static int FIELD_COLOR(Code) | | |
FIELD_ICON | final public static int FIELD_ICON(Code) | | |
FIELD_STATIC_COLOR | final public static int FIELD_STATIC_COLOR(Code) | | |
FIELD_STATIC_ICON | final public static int FIELD_STATIC_ICON(Code) | | |
INTERFACE_COLOR | final public static int INTERFACE_COLOR(Code) | | |
INTERFACE_ICON | final public static int INTERFACE_ICON(Code) | | |
KEYWORD_COLOR | final public static int KEYWORD_COLOR(Code) | | |
METHOD_COLOR | final public static int METHOD_COLOR(Code) | | |
METHOD_ICON | final public static int METHOD_ICON(Code) | | |
METHOD_STATIC_COLOR | final public static int METHOD_STATIC_COLOR(Code) | | |
METHOD_STATIC_ICON | final public static int METHOD_STATIC_ICON(Code) | | |
PACKAGE_COLOR | final public static int PACKAGE_COLOR(Code) | | |
PACKAGE_ICON | final public static int PACKAGE_ICON(Code) | | |
PARAMETER_NAME_COLOR | final public static int PARAMETER_NAME_COLOR(Code) | | |
TYPE_COLOR | final public static int TYPE_COLOR(Code) | | |
classDisplayFullName | protected boolean classDisplayFullName(Code) | | |
classDisplayOffset | protected int classDisplayOffset(Code) | | |
displayStaticWord | protected boolean displayStaticWord(Code) | | |
drawHeight | protected int drawHeight(Code) | | |
drawX | protected int drawX(Code) | | |
drawY | protected int drawY(Code) | | |
isSelected | protected boolean isSelected(Code) | | |
packageLastNameOnly | protected boolean packageLastNameOnly(Code) | | |
serialVersionUID | final static long serialVersionUID(Code) | | |
JCCellRenderer | public JCCellRenderer()(Code) | | |
drawIcon | protected void drawIcon(Graphics g, Icon icon)(Code) | | Draw the icon if it is valid for the given type. Here the initial drawing
assignments are also done.
|
drawString | protected void drawString(Graphics g, String s)(Code) | | Draw string using the foreground color
|
drawString | protected void drawString(Graphics g, String s, Color c)(Code) | | Draw string with given color which is first possibly modified by calling
getColor() method to care about selection etc.
|
getIconTextGap | public int getIconTextGap()(Code) | | |
getListCellRendererComponent | public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)(Code) | | |
setClassDisplayFullName | public void setClassDisplayFullName(boolean classDisplayFullName)(Code) | | |
setClassDisplayOffset | public void setClassDisplayOffset(int classDisplayOffset)(Code) | | |
setDisplayStaticWord | public void setDisplayStaticWord(boolean displayStaticWord)(Code) | | |
setForeColor | public void setForeColor(Color color, int type)(Code) | | |
setForeColor | public void setForeColor(Color color, int type, int level)(Code) | | |
setIcon | public void setIcon(Icon icon, int type)(Code) | | |
setIcon | public void setIcon(Icon icon, int type, int level)(Code) | | |
setIconTextGap | public void setIconTextGap(int iconTextGap)(Code) | | |
setPackageLastNameOnly | public void setPackageLastNameOnly(boolean packageLastNameOnly)(Code) | | |
|
|