All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jclass.bwt.JCOutlinerNodeStyle

java.lang.Object
   |
   +----jclass.bwt.JCOutlinerNodeStyle

public class JCOutlinerNodeStyle
extends Object
implements JCSerializable
This class defines style values for a JCOutliner node.

See Also:
JCOutliner, JCOutlinerNode

Variable Index

 o background_selected
The node's background color when it is selected.
 o folder_closed
The node's icon if it is a closed folder.
 o folder_closed_selected
The node's icon if it is a closed folder and it is selected.
 o folder_open
The node's icon if it is an open folder.
 o folder_open_selected
The node's icon if it is an open folder and it is selected.
 o font
The node's font.
 o foreground
The node's foreground color.
 o foreground_selected
The node's foreground color when it is selected.
 o icon_spacing
The horizontal spacing between the icon and the label.
 o item
The node's icon if it is not a folder.
 o item_selected
The node's icon if it is not a folder and it is selected.
 o line_color
The color of the line connecting a folder to its children.
 o shortcut
Whether a shortcut button should be drawn beside a folder.

Constructor Index

 o JCOutlinerNodeStyle()
 o JCOutlinerNodeStyle(JCOutlinerNodeStyle)
Creates a new style which is a copy of a style.

Method Index

 o getBackgroundSelected()
Gets the node's background color when it is selected.
 o getFolderClosedIcon()
Gets the node's icon if it is a closed folder.
 o getFolderClosedSelectedIcon()
Gets the node's icon if it is a closed folder and it is selected.
 o getFolderOpenIcon()
Gets the node's icon if it is an open folder.
 o getFolderOpenSelectedIcon()
Gets the node's icon if it is an open folder and it is selected.
 o getFont()
Gets the node's font.
 o getForeground()
Gets the node's foreground color.
 o getForegroundSelected()
Gets the node's foreground color when it is selected.
 o getIconSpacing()
Gets the horizontal spacing between the icon and the label.
 o getItemIcon()
Gets the node's icon if it is not a folder.
 o getItemSelectedIcon()
Gets the node's icon if it is not a folder and it is selected.
 o getLineColor()
Gets the color of the line connecting a folder to its children.
 o getShortcut()
Gets whether a shortcut button should be drawn beside a folder.
 o setBackgroundSelected(Color)
Sets the node's background color when it is selected (default: outliner's foreground color).
 o setFolderClosedIcon(Image)
Sets the node's icon if it is a closed folder.
 o setFolderClosedSelectedIcon(Image)
Sets the node's icon if it is a closed folder and it is selected.
 o setFolderOpenIcon(Image)
Sets the node's icon if it is an open folder.
 o setFolderOpenSelectedIcon(Image)
Sets the node's icon if it is an open folder and it is selected.
 o setFont(Font)
Sets the node's font (default: outliner's font).
 o setForeground(Color)
Sets the node's foreground color (default: outliner's foreground color).
 o setForegroundSelected(Color)
Sets the node's foreground color when it is selected (default: outliner's background color).
 o setIconSpacing(int)
Sets the horizontal spacing between the icon and the label (default: 5).
 o setItemIcon(Image)
Sets the node's icon if it is not a folder.
 o setItemSelectedIcon(Image)
Sets the node's icon if it is not a folder and it is selected.
 o setLineColor(Color)
Sets the color of the line connecting a folder to its children (default: outliner's foreground color).
 o setShortcut(boolean)
Sets whether a shortcut button should be drawn beside a folder (default: false).

Variables

 o background_selected
  protected Color background_selected
The node's background color when it is selected.

 o font
  protected Font font
The node's font.

 o foreground
  protected Color foreground
The node's foreground color.

 o foreground_selected
  protected Color foreground_selected
The node's foreground color when it is selected.

 o line_color
  protected Color line_color
The color of the line connecting a folder to its children.

 o shortcut
  protected boolean shortcut
Whether a shortcut button should be drawn beside a folder.

 o item
  protected Image item
The node's icon if it is not a folder.

 o item_selected
  protected Image item_selected
The node's icon if it is not a folder and it is selected.

 o folder_closed
  protected Image folder_closed
The node's icon if it is a closed folder.

 o folder_closed_selected
  protected Image folder_closed_selected
The node's icon if it is a closed folder and it is selected.

 o folder_open
  protected Image folder_open
The node's icon if it is an open folder.

 o folder_open_selected
  protected Image folder_open_selected
The node's icon if it is an open folder and it is selected.

 o icon_spacing
  protected int icon_spacing
The horizontal spacing between the icon and the label.

Constructors

 o JCOutlinerNodeStyle
  public JCOutlinerNodeStyle()
 o JCOutlinerNodeStyle
  public JCOutlinerNodeStyle(JCOutlinerNodeStyle s)
Creates a new style which is a copy of a style.

Methods

 o getBackgroundSelected
  public Color getBackgroundSelected()
Gets the node's background color when it is selected.

 o getFont
  public Font getFont()
Gets the node's font.

 o getForeground
  public Color getForeground()
Gets the node's foreground color.

 o getForegroundSelected
  public Color getForegroundSelected()
Gets the node's foreground color when it is selected.

 o getLineColor
  public Color getLineColor()
Gets the color of the line connecting a folder to its children.

 o getShortcut
  public boolean getShortcut()
Gets whether a shortcut button should be drawn beside a folder.

 o getItemIcon
  public Image getItemIcon()
Gets the node's icon if it is not a folder.

 o getItemSelectedIcon
  public Image getItemSelectedIcon()
Gets the node's icon if it is not a folder and it is selected.

 o getFolderClosedIcon
  public Image getFolderClosedIcon()
Gets the node's icon if it is a closed folder.

 o getFolderClosedSelectedIcon
  public Image getFolderClosedSelectedIcon()
Gets the node's icon if it is a closed folder and it is selected.

 o getFolderOpenIcon
  public Image getFolderOpenIcon()
Gets the node's icon if it is an open folder.

 o getFolderOpenSelectedIcon
  public Image getFolderOpenSelectedIcon()
Gets the node's icon if it is an open folder and it is selected.

 o getIconSpacing
  public int getIconSpacing()
Gets the horizontal spacing between the icon and the label.

 o setBackgroundSelected
  public void setBackgroundSelected(Color v)
Sets the node's background color when it is selected (default: outliner's foreground color).

 o setFont
  public void setFont(Font f)
Sets the node's font (default: outliner's font).

 o setForeground
  public void setForeground(Color v)
Sets the node's foreground color (default: outliner's foreground color).

 o setForegroundSelected
  public void setForegroundSelected(Color v)
Sets the node's foreground color when it is selected (default: outliner's background color).

 o setLineColor
  public void setLineColor(Color v)
Sets the color of the line connecting a folder to its children (default: outliner's foreground color).

 o setShortcut
  public void setShortcut(boolean v)
Sets whether a shortcut button should be drawn beside a folder (default: false).

 o setIconSpacing
  public void setIconSpacing(int v)
Sets the horizontal spacing between the icon and the label (default: 5).

 o setItemIcon
  public void setItemIcon(Image i)
Sets the node's icon if it is not a folder.

 o setItemSelectedIcon
  public void setItemSelectedIcon(Image i)
Sets the node's icon if it is not a folder and it is selected. (default: same as item).

 o setFolderClosedIcon
  public void setFolderClosedIcon(Image i)
Sets the node's icon if it is a closed folder.

 o setFolderClosedSelectedIcon
  public void setFolderClosedSelectedIcon(Image i)
Sets the node's icon if it is a closed folder and it is selected.

 o setFolderOpenIcon
  public void setFolderOpenIcon(Image i)
Sets the node's icon if it is an open folder.

 o setFolderOpenSelectedIcon
  public void setFolderOpenSelectedIcon(Image i)
Sets the node's icon if it is an open folder and it is selected. (default: same as open).


All Packages  Class Hierarchy  This Package  Previous  Next  Index