|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
com.zfqjava.swing.JPropertyGrid
public class JPropertyGrid
JPropertyGrid provides a property grid.
| Nested Class Summary | |
|---|---|
protected class |
JPropertyGrid.AccessibleJPropertyGrid
This class implements accessibility support for the JPropertyGrid class. |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
static int |
ALPHABETICAL_VIEW_MODE
Identifies the alphabetical view mode. |
static int |
CATEGORIZED_VIEW_MODE
Identifies the categorized view mode. |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
JPropertyGrid()
Constructs a empty property grid. |
|
JPropertyGrid(PropertyGridModel model)
Constructs a property grid with the specified PropertyGridModel. |
|
| Method Summary | |
|---|---|
AccessibleContext |
getAccessibleContext()
Gets the AccessibleContext associated with this JPropertyGrid. |
CellManager |
getCellManager()
Returns the cell manager. |
PropertyGridModel |
getModel()
Returns the data model for JPropertyGrid. |
PropertyGridUI |
getUI()
Returns the look and feel (L&F) object that renders this component. |
String |
getUIClassID()
Returns a string that specifies the name of the L&F class that renders this component. |
int |
getViewMode()
Returns the JPropertyGrid display mode. |
protected String |
paramString()
Returns a string representation of this JPropertyGrid. |
void |
setModel(PropertyGridModel model)
Sets the data model for JPropertyGrid. |
void |
setUI(PropertyGridUI ui)
Sets the look and feel (L&F) object that renders this component. |
void |
setViewMode(int viewMode)
Sets the JPropertyGrid display mode. |
void |
updateUI()
Resets the UI property with a value from the current look and feel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int CATEGORIZED_VIEW_MODE
public static final int ALPHABETICAL_VIEW_MODE
| Constructor Detail |
|---|
public JPropertyGrid()
public JPropertyGrid(PropertyGridModel model)
| Method Detail |
|---|
public void updateUI()
updateUI in class JComponentJComponent.updateUI()public PropertyGridUI getUI()
public void setUI(PropertyGridUI ui)
ui - the PropertyGridUI L&F objectUIDefaults.getUI(javax.swing.JComponent)public String getUIClassID()
getUIClassID in class JComponentJComponent.getUIClassID(),
UIDefaults.getUI(javax.swing.JComponent)public CellManager getCellManager()
public void setModel(PropertyGridModel model)
JPropertyGrid.
model - the data model for JPropertyGridgetModel()public PropertyGridModel getModel()
JPropertyGrid.
JPropertyGridpublic void setViewMode(int viewMode)
JPropertyGrid display mode.
viewMode - one of 2 legal values:
getViewMode()public int getViewMode()
JPropertyGrid display mode.
setViewMode(int)protected String paramString()
null.
paramString in class JComponentpublic AccessibleContext getAccessibleContext()
getAccessibleContext in interface AccessiblegetAccessibleContext in class JComponent
|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||