|
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.beans.JCHiGridNode
This class encapsulates information about data and format of a node in JCHiGrid
.
Field Summary | |
static int |
SECTION_AFTER_DETAILS
|
static int |
SECTION_BEFORE_DETAILS
|
static int |
SECTION_FOOTER
|
static int |
SECTION_HEADER
|
static int |
SECTION_MAX
|
static int |
SECTION_RECORD
|
Constructor Summary | |
JCHiGridNode(com.klg.jclass.higrid.beans.GridProperties comp)
|
|
JCHiGridNode(com.klg.jclass.higrid.beans.GridProperties comp,
int type)
Creates a JCHiGridNode with the data source type. |
Method Summary | |
void |
addJCHiGridListener(com.klg.jclass.higrid.beans.JCHiGridListener listener)
Adds the specified listener to receive JCHiGridEvent objects. |
boolean |
equals(Object o)
Compares all properties of JCHiGridNode to check equality. |
void |
fireJCHiGridEvent(com.klg.jclass.higrid.beans.JCHiGridEvent event)
Informs registered listeners of a JCHiGridEvent . |
boolean |
getAllowHeightResizing(int section)
|
int |
getAutoTraverse()
|
Color |
getBackground(int section)
|
Insets |
getBorderInsets(int section)
|
int |
getBorderStyle(int section)
|
com.klg.jclass.higrid.SortData |
getDefaultSortData()
|
boolean |
getDoRetrieveAllFields()
|
String |
getFontName(int section)
|
int |
getFontSize(int section)
|
int |
getFontStyle(int section)
|
Color |
getForeground(int section)
|
com.klg.jclass.higrid.beans.GridProperties |
getGridProperties()
|
int |
getHeight(int section)
|
com.klg.jclass.datasource.beans.NodeProperties |
getNodeProperties()
|
com.klg.jclass.higrid.RowFormat |
getRowFormat(int section)
|
Vector |
getSummaryColumns(int section)
|
void |
initFormat()
Initializes format. |
boolean |
isRepeatHeader()
|
boolean |
isSectionShowing(int section)
|
void |
JCDataValueChanged(com.klg.jclass.datasource.beans.JCDataEvent e)
When value(s) of the data Bean component is changed. |
void |
removeJCHiGridListener(com.klg.jclass.higrid.beans.JCHiGridListener listener)
Removes the specified listener so it no longer receives JCHiGridEvent objects. |
void |
setAllowHeightResizing(int section,
boolean v)
|
void |
setAutoTraverse(int v)
|
void |
setBackground(int section,
Color color)
|
void |
setBorderInsets(int section,
Insets i)
|
void |
setBorderStyle(int section,
int style)
|
void |
setChanged()
Exposes setChanged() . |
void |
setDefaultSortData(com.klg.jclass.higrid.SortData sortData)
|
void |
setDoRetrieveAllFields(boolean value)
|
void |
setFont(int section,
String name,
int style,
int size,
FontMetrics fm)
|
void |
setForeground(int section,
Color color)
|
void |
setHeight(int section,
int height)
|
void |
setRepeatHeader(boolean v)
|
void |
setRowFormat(int section,
com.klg.jclass.higrid.RowFormat format)
|
void |
setSectionShowing(int section,
boolean v)
|
void |
setSummaryColumns(int section,
Vector columns)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SECTION_HEADER
public static final int SECTION_BEFORE_DETAILS
public static final int SECTION_RECORD
public static final int SECTION_AFTER_DETAILS
public static final int SECTION_FOOTER
public static final int SECTION_MAX
Constructor Detail |
public JCHiGridNode(com.klg.jclass.higrid.beans.GridProperties comp)
public JCHiGridNode(com.klg.jclass.higrid.beans.GridProperties comp, int type)
JCHiGridNode
with the data source type.
comp
- type
- Method Detail |
public void initFormat()
public com.klg.jclass.datasource.beans.NodeProperties getNodeProperties()
getNodeProperties
in interface com.klg.jclass.datasource.customizer.NodePropertiesWrapper
public com.klg.jclass.higrid.beans.GridProperties getGridProperties()
public boolean isSectionShowing(int section)
public void setSectionShowing(int section, boolean v)
public void setHeight(int section, int height)
public int getHeight(int section)
public void setAllowHeightResizing(int section, boolean v)
public boolean getAllowHeightResizing(int section)
public void setBorderStyle(int section, int style)
public int getBorderStyle(int section)
public void setBorderInsets(int section, Insets i)
public Insets getBorderInsets(int section)
public void setForeground(int section, Color color)
public Color getForeground(int section)
public void setBackground(int section, Color color)
public Color getBackground(int section)
public void setFont(int section, String name, int style, int size, FontMetrics fm)
public String getFontName(int section)
public int getFontStyle(int section)
public int getFontSize(int section)
public void setAutoTraverse(int v)
public int getAutoTraverse()
public void setDefaultSortData(com.klg.jclass.higrid.SortData sortData)
public com.klg.jclass.higrid.SortData getDefaultSortData()
public void setRepeatHeader(boolean v)
public boolean isRepeatHeader()
public com.klg.jclass.higrid.RowFormat getRowFormat(int section)
public void setRowFormat(int section, com.klg.jclass.higrid.RowFormat format)
public Vector getSummaryColumns(int section)
public void setSummaryColumns(int section, Vector columns)
public void setChanged()
setChanged()
. It is used when a CellFormat
in
a RowFormat
is changed.
public boolean equals(Object o)
JCHiGridNode
to check equality.
It is done in this way because of serialization. After serialization,
a JCHiGridNode
is stored in different memory space than
the JCHiGridNode
before serialization.
equals
in class Object
o
-
public boolean getDoRetrieveAllFields()
public void setDoRetrieveAllFields(boolean value)
public void addJCHiGridListener(com.klg.jclass.higrid.beans.JCHiGridListener listener)
JCHiGridEvent
objects.
listener
- a listenerpublic void removeJCHiGridListener(com.klg.jclass.higrid.beans.JCHiGridListener listener)
JCHiGridEvent
objects.
listener
- a listenerpublic void fireJCHiGridEvent(com.klg.jclass.higrid.beans.JCHiGridEvent event)
JCHiGridEvent
.
event
- the JCHiGridEvent
public void JCDataValueChanged(com.klg.jclass.datasource.beans.JCDataEvent e)
JCDataValueChanged
in interface JCDataListener
e
-
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |