|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.centrasite.control.discovery.AbstractPropertyAccessor
public abstract class AbstractPropertyAccessor
Constructor Summary | |
---|---|
AbstractPropertyAccessor()
|
Method Summary | |
---|---|
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()
Check whether property is complex May be due to referenced item |
boolean |
isDateProperty()
Returns the current accessor is having date value or not |
boolean |
isIntProperty()
Returns the current accessor is having number value or not |
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.centrasite.control.discovery.PropertyAccessor |
---|
getPropertyName, getValue, isReadOnly, setValue |
Constructor Detail |
---|
public AbstractPropertyAccessor()
Method Detail |
---|
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 Item
public 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()
PropertyAccessor
isDateProperty
in interface PropertyAccessor
public boolean isIntProperty()
PropertyAccessor
isIntProperty
in interface PropertyAccessor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |