|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.higrid.FolderIconStyle
The FolderIconStyle
class defines the folder icon style to be used.
Field Summary | |
protected static int |
DEFAULT_FOLDER_ICON_STYLE
|
protected static int |
FIRST_FOLDER_ICON_STYLE
|
static int |
FOLDER_ICON_STYLE_FOLDER
Folder folder icon style. |
static int |
FOLDER_ICON_STYLE_LARGE_LINE_3D
Large line 3D folder icon style. |
static int |
FOLDER_ICON_STYLE_MEDIUM_LINE_3D
Medium line 3D folder icon style. |
static int |
FOLDER_ICON_STYLE_SHORTCUT
Shortcut folder icon style. |
static int |
FOLDER_ICON_STYLE_SMALL_LINE_3D
Small line 3D folder icon style. |
static int |
FOLDER_ICON_STYLE_TRIANGLE
Triangle folder icon style. |
static int |
FOLDER_ICON_STYLE_TURNER
Turner folder icon style. |
static int |
FOLDER_ICON_STYLE_USER_DEFINED
User defined folder icon style. |
protected static int |
LAST_FOLDER_ICON_STYLE
|
Constructor Summary | |
FolderIconStyle(com.klg.jclass.higrid.HiGrid grid)
Constructor |
Method Summary | |
Image |
getFolderIcon(int type)
Retrieves the current image for the specified folder state. |
protected int |
getMaximumHeight()
Computes the maximum height of all of the icons. |
protected int |
getMaximumWidth()
Computes the maximum width of all of the icons. |
protected int |
getStyle()
Retrieves the folder style index. |
protected void |
recreateIcons()
Allows lazy creation of icons and permits cut and paste serialization. |
void |
setFolderIcon(Image icon,
int type)
Sets the current image for the specified folder state. |
protected void |
setIcon(Image icon,
int type)
Sets the current image for the specified folder state. |
protected void |
setStyle(int style)
Set the folder icons given the style index. |
protected void |
validateGridNodeWidth()
Ensure that the entire node will be displayed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int FOLDER_ICON_STYLE_USER_DEFINED
public static final int FOLDER_ICON_STYLE_SHORTCUT
public static final int FOLDER_ICON_STYLE_FOLDER
public static final int FOLDER_ICON_STYLE_TRIANGLE
public static final int FOLDER_ICON_STYLE_SMALL_LINE_3D
public static final int FOLDER_ICON_STYLE_MEDIUM_LINE_3D
public static final int FOLDER_ICON_STYLE_LARGE_LINE_3D
public static final int FOLDER_ICON_STYLE_TURNER
protected static final int FIRST_FOLDER_ICON_STYLE
protected static final int LAST_FOLDER_ICON_STYLE
protected static final int DEFAULT_FOLDER_ICON_STYLE
Constructor Detail |
public FolderIconStyle(com.klg.jclass.higrid.HiGrid grid)
Method Detail |
protected void recreateIcons()
protected int getMaximumHeight()
protected int getMaximumWidth()
protected int getStyle()
protected void validateGridNodeWidth()
protected void setStyle(int style)
style
- The style index.public Image getFolderIcon(int type)
type
- The type of icon to get.
public void setFolderIcon(Image icon, int type)
type
- The type of icon to set.icon
- The new icon of this type.protected void setIcon(Image icon, int type)
type
- The type of icon to set.icon
- The new icon of this type.
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |