Package com.axemble.vdoc.sdk.interfaces
Interface IContentComponent
- All Superinterfaces:
IElement
,Serializable
- All Known Subinterfaces:
IBlock
,IComponent
- All Known Implementing Classes:
EzsBlock
,EzsComponent
,EzsContentComponent
This interface represents a block element.
- Since:
- 2.1
- Version:
- 1.0, 16/06/2009
- Author:
- vlygeros
-
Method Summary
Modifier and TypeMethodDescriptionGets the CSS class.Gets the description of theIContentComponent
object.Gets the label of theIContentComponent
object.Gets the name of theIContentComponent
object.Gets the parent block.Get the system name of the componentGets the value of a property.Gets the value of a property.boolean
Checks if the block is nullable.boolean
Checks if the block is replaceable.void
Hides a property.void
setInnerCssClass
(String cssClass) Sets the CSS classvoid
setInnerNullable
(boolean nullable) Allows to specify the block is nullable.void
setInnerReplaceable
(boolean replaceable) Allows to specify the block is replaceable.void
setSysName
(String sysName) Get the system name of the componentvoid
Sets a value to a property
-
Method Details
-
getInnerName
String getInnerName()Gets the name of theIContentComponent
object.- Returns:
- The system name of the content component.
-
getInnerLabel
String getInnerLabel()Gets the label of theIContentComponent
object.- Returns:
- The label of the content component.
-
getInnerDescription
String getInnerDescription()Gets the description of theIContentComponent
object.- Returns:
- The description of the content component.
-
getInnerCssClass
String getInnerCssClass()Gets the CSS class.- Returns:
- A java.lang.String representing the class name used by the block.
-
setInnerCssClass
Sets the CSS class- Parameters:
cssClass
-
-
isInnerReplaceable
boolean isInnerReplaceable()Checks if the block is replaceable.- Returns:
- true if the block is replaceable, false otherwise.
-
setInnerReplaceable
void setInnerReplaceable(boolean replaceable) Allows to specify the block is replaceable.- Parameters:
replaceable
- The flag to set.
-
isInnerNullable
boolean isInnerNullable()Checks if the block is nullable.- Returns:
- true if the block is nullable, false otherwise.
-
setInnerNullable
void setInnerNullable(boolean nullable) Allows to specify the block is nullable.- Parameters:
nullable
- The flag to set.
-
getValue
Gets the value of a property.- Parameters:
propertyName
- The system name of the property.- Returns:
- A
Object
object.
-
getValue
Gets the value of a property. Allows to specify a default value, if the internale value is null.- Parameters:
propertyName
- The system name of the property.defaultValue
-- Returns:
- A
Object
object.
-
setValue
Sets a value to a property- Parameters:
propertyName
- The system name of the property.value
- The value object to set.
-
setHidden
Hides a property.- Parameters:
propertyName
- The system name of the property.
-
getParentBlock
IBlock getParentBlock()Gets the parent block.- Returns:
- A
IBlock
object.
-
getSysName
String getSysName()Get the system name of the component- Returns:
- the system name
-
setSysName
Get the system name of the component- Parameters:
sysName
- the system name
-