|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.progeeks.meta.swing.AbstractPropertyUI
org.progeeks.meta.swing.AbstractPropertyEditor
org.progeeks.meta.swing.editor.ContainerEditor
public class ContainerEditor
An editor implementation for a Collection of values otherwise editable with another registered editor.
| Constructor Summary | |
|---|---|
ContainerEditor()
|
|
| Method Summary | |
|---|---|
protected void |
addItem()
|
void |
editItem(int i)
|
java.awt.Component |
getUIComponent()
Returns the component that allows modification of the associated property mutator. |
boolean |
hasAddButton()
Returns true if the dialog should have an add button if the property mutator supports it. |
boolean |
hasEditButton()
Returns true if the dialog should have an edit button if the property mutator supports it. |
boolean |
hasRemoveButton()
Returns true if the dialog should have a remove button if the property mutator supports it. |
void |
initializeView(MetaPropertyContext viewContext)
Initializes this MetaPropertyUI as a participant in the specified MetaPropertyContext's hierarchy. |
boolean |
isSingleColumn()
Returns false since lists should be full-width controls. |
protected void |
propertyChanged(java.beans.PropertyChangeEvent event)
Called when the value contained in the mutator changes. |
protected void |
releaseComponent()
Implemented by subclasses to release any component-related resources. |
protected void |
removeItem(int i,
java.lang.Object value)
|
protected void |
resetComponentValue()
Called to set the component value to a default state. |
protected void |
setComponentValue(java.lang.Object value)
Called to set the current value displayed in the component. |
void |
setPropertyMutator(PropertyMutator mutator)
Intercepted to configure the list panel to most appropriately modify the list. |
| Methods inherited from class org.progeeks.meta.swing.AbstractPropertyEditor |
|---|
flushEdits |
| Methods inherited from class org.progeeks.meta.swing.AbstractPropertyUI |
|---|
getPropertyMutator, getViewContext, isLabeled, release, setPropertyValue, setupToolTipText, terminateView |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.progeeks.meta.swing.MetaPropertyUI |
|---|
getViewContext, isLabeled, release |
| Constructor Detail |
|---|
public ContainerEditor()
| Method Detail |
|---|
public void initializeView(MetaPropertyContext viewContext)
AbstractPropertyUI
initializeView in interface MetaPropertyUIinitializeView in class AbstractPropertyUIpublic boolean hasEditButton()
public boolean hasRemoveButton()
public boolean hasAddButton()
public void setPropertyMutator(PropertyMutator mutator)
setPropertyMutator in interface MetaPropertyUIsetPropertyMutator in class AbstractPropertyUIpublic boolean isSingleColumn()
isSingleColumn in interface MetaPropertyUIisSingleColumn in class AbstractPropertyUIpublic java.awt.Component getUIComponent()
getUIComponent in interface MetaPropertyUIgetUIComponent in class AbstractPropertyUIprotected void releaseComponent()
releaseComponent in class AbstractPropertyEditorprotected void setComponentValue(java.lang.Object value)
setComponentValue in class AbstractPropertyUIprotected void resetComponentValue()
resetComponentValue in class AbstractPropertyUIprotected void propertyChanged(java.beans.PropertyChangeEvent event)
propertyChanged in class AbstractPropertyUIprotected void addItem()
public void editItem(int i)
protected void removeItem(int i,
java.lang.Object value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||