|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jminor.framework.client.model.DefaultPropertySummaryModel
public class DefaultPropertySummaryModel
A default PropertySummaryModel implementation.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.jminor.framework.client.model.PropertySummaryModel |
---|
PropertySummaryModel.PropertyValueProvider, PropertySummaryModel.SummaryType |
Constructor Summary | |
---|---|
DefaultPropertySummaryModel(Property property,
PropertySummaryModel.PropertyValueProvider valueProvider)
Instantiates a new DefaultPropertySummaryModel |
Method Summary | |
---|---|
void |
addSummaryListener(ActionListener listener)
|
void |
addSummaryTypeListener(ActionListener listener)
|
Property |
getProperty()
|
String |
getSummaryText()
|
PropertySummaryModel.SummaryType |
getSummaryType()
|
List<PropertySummaryModel.SummaryType> |
getSummaryTypes()
|
void |
removeSummaryListener(ActionListener listener)
|
void |
removeSummaryTypeListener(ActionListener listener)
|
void |
setSummaryType(PropertySummaryModel.SummaryType summaryType)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultPropertySummaryModel(Property property, PropertySummaryModel.PropertyValueProvider valueProvider)
property
- the property to summarizevalueProvider
- the property value providerMethod Detail |
---|
public final Property getProperty()
getProperty
in interface PropertySummaryModel
public final void setSummaryType(PropertySummaryModel.SummaryType summaryType)
setSummaryType
in interface PropertySummaryModel
summaryType
- the type of summary to showpublic final PropertySummaryModel.SummaryType getSummaryType()
getSummaryType
in interface PropertySummaryModel
public final List<PropertySummaryModel.SummaryType> getSummaryTypes()
getSummaryTypes
in interface PropertySummaryModel
public final String getSummaryText()
getSummaryText
in interface PropertySummaryModel
public final void addSummaryListener(ActionListener listener)
addSummaryListener
in interface PropertySummaryModel
listener
- a listener to be notified each time the summary changespublic final void addSummaryTypeListener(ActionListener listener)
addSummaryTypeListener
in interface PropertySummaryModel
listener
- a listener to be notified each time the summary type changespublic final void removeSummaryListener(ActionListener listener)
removeSummaryListener
in interface PropertySummaryModel
listener
- the listener to removepublic final void removeSummaryTypeListener(ActionListener listener)
removeSummaryTypeListener
in interface PropertySummaryModel
listener
- the listener to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |