|
||||||||||
| 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
javax.swing.JPanel
weka.gui.PropertySheetPanel
public class PropertySheetPanel
Displays a property sheet where (supported) properties of the target object may be edited.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.BaselineResizeBehavior |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
TOOL_TIP_TEXT_KEY, 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 | |
|---|---|
PropertySheetPanel()
Creates the property sheet panel. |
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
Adds a PropertyChangeListener. |
void |
closingCancel()
Pass on a CANCEL closing notificiation to the customizer (if one is in use). |
void |
closingOK()
Pass on an OK closing notification to the customizer (if one is in use) |
int |
editableProperties()
Gets the number of editable properties for the current target. |
JPanel |
getAboutPanel()
Return the panel containing global info and help for the object being edited. |
void |
propertyChange(PropertyChangeEvent evt)
Updates the property sheet panel with a changed property and also passed the event along. |
void |
removePropertyChangeListener(PropertyChangeListener l)
Removes a PropertyChangeListener. |
void |
setEnvironment(Environment env)
Set environment variables to pass on to any editor that can use them |
void |
setTarget(Object targ)
Sets a new target object for customisation. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PropertySheetPanel()
| Method Detail |
|---|
public JPanel getAboutPanel()
public void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerevt - a value of type 'PropertyChangeEvent'public void addPropertyChangeListener(PropertyChangeListener l)
addPropertyChangeListener in class Containerl - a value of type 'PropertyChangeListener'public void removePropertyChangeListener(PropertyChangeListener l)
removePropertyChangeListener in class Componentl - a value of type 'PropertyChangeListener'public void setTarget(Object targ)
targ - a value of type 'Object'public int editableProperties()
public void setEnvironment(Environment env)
setEnvironment in interface EnvironmentHandlerenv - the variables to pass on to individual property
editorspublic void closingOK()
public void closingCancel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||