public abstract class AbstractPropertyAccessor extends java.lang.Object implements PropertyAccessor
Type | Property and Description |
---|---|
boolean |
isComplex
Gets the value of the property complexProperty.
|
boolean |
isDate
Gets the value of the property dateProperty.
|
boolean |
isInt
Gets the value of the property intProperty.
|
Constructor and Description |
---|
AbstractPropertyAccessor() |
Modifier and Type | Method and Description |
---|---|
void |
editProperty(Item item,
ActionContext actionContext,
MultipleValueInputActionListener listener)
Invoke editor for property
|
java.lang.String |
getActivatingMessage(java.util.Locale locale)
Get a localized message, which will displayed when
this PropertyAccessor is activated in the Column Chooser
|
java.util.List |
getCommands(Item item)
Get list of commands associated with respective property.
|
java.lang.String |
getDescription(java.util.Locale locale)
Obtain a description which can be used by a tool tip for example
|
java.lang.String |
getDisplayName(java.util.Locale locale)
Obtain a localized display name for the property accessed using this PropertyAccessor
|
Item |
getReferencedItem(Item item)
Get the Item referenced by this property
|
SelectItemDescriptor |
getSelectReferencedItemDescriptor(Item item)
Provide context description for selecting referenced item
|
boolean |
isComplexProperty()
Gets the value of the property complexProperty.
|
boolean |
isDateProperty()
Gets the value of the property dateProperty.
|
boolean |
isIntProperty()
Gets the value of the property intProperty.
|
boolean |
isTextEditAllowed(Item item)
Check whether property value may be edited directly (that is as a string)
|
void |
selectReferencedItem(Item item,
ActionContext actionContext)
Invoke editor for property
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPropertyName, getValue, isReadOnly, setValue
public boolean isComplexProperty
isComplexProperty
in interface PropertyAccessor
public boolean isDateProperty
isDateProperty
in interface PropertyAccessor
public boolean isIntProperty
isIntProperty
in interface PropertyAccessor
public java.lang.String getDisplayName(java.util.Locale locale)
getDisplayName
in interface PropertyAccessor
public java.lang.String getDescription(java.util.Locale locale)
getDescription
in interface PropertyAccessor
public boolean isComplexProperty()
isComplexProperty
in interface PropertyAccessor
public SelectItemDescriptor getSelectReferencedItemDescriptor(Item item)
getSelectReferencedItemDescriptor
in interface PropertyAccessor
public Item getReferencedItem(Item item)
getReferencedItem
in interface PropertyAccessor
item
- the current Itempublic boolean isTextEditAllowed(Item item)
isTextEditAllowed
in interface PropertyAccessor
item
- the current Itempublic void selectReferencedItem(Item item, ActionContext actionContext)
selectReferencedItem
in interface PropertyAccessor
public void editProperty(Item item, ActionContext actionContext, MultipleValueInputActionListener listener)
editProperty
in interface PropertyAccessor
public java.util.List getCommands(Item item)
PropertyAccessor
getCommands
in interface PropertyAccessor
public java.lang.String getActivatingMessage(java.util.Locale locale)
getActivatingMessage
in interface PropertyAccessor
public boolean isDateProperty()
isDateProperty
in interface PropertyAccessor
public boolean isIntProperty()
isIntProperty
in interface PropertyAccessor