|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.datacrow.core.modules.DcModule
net.datacrow.core.modules.TemplateModule
public class TemplateModule
The template module represents templates. Templates can be applied when creating new items. The template module is based on the module which it is serving.
Field Summary |
---|
Fields inherited from class net.datacrow.core.modules.DcModule |
---|
_TYPE_ASSOCIATE_MODULE, _TYPE_EXTERNALREFERENCE_MODULE, _TYPE_MAPPING_MODULE, _TYPE_MEDIA_MODULE, _TYPE_MODULE, _TYPE_PROPERTY_MODULE, _TYPE_TEMPLATE_MODULE, insertView, searchView |
Constructor Summary | |
---|---|
TemplateModule(DcModule parent)
Creates a new instance based on the specified module. |
Method Summary | |
---|---|
DcObject |
createItem()
Creates a new template item. |
boolean |
equals(java.lang.Object o)
|
DcFieldDefinitions |
getFieldDefinitions()
The field settings/definitions. |
DcMinimalisticItemView |
getForm()
Creates the simple item view. |
DcImageIcon |
getIcon16()
The small icon used to represent the module. |
DcImageIcon |
getIcon32()
The large icon used to represent the module. |
int[] |
getSupportedViews()
|
DcModule |
getTemplatedModule()
Retrieves the module this template module has been created for. |
boolean |
hasInsertView()
Indicates if this module has an insert view available. |
boolean |
hasSearchView()
Indicates if this module has a search view available. |
protected void |
initializeFields()
Initializes the standard fields. |
protected void |
initializeUI()
Creates (of need be) the template form. |
boolean |
isHasReferences()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TemplateModule(DcModule parent)
parent
- Method Detail |
---|
public boolean hasInsertView()
DcModule
hasInsertView
in class DcModule
public boolean hasSearchView()
DcModule
hasSearchView
in class DcModule
public DcModule getTemplatedModule()
public DcImageIcon getIcon16()
DcModule
getIcon16
in class DcModule
public DcImageIcon getIcon32()
DcModule
getIcon32
in class DcModule
public DcMinimalisticItemView getForm()
public DcObject createItem()
createItem
in class DcModule
DcTemplate
public DcFieldDefinitions getFieldDefinitions()
getFieldDefinitions
in class DcModule
DcModule.getFieldDefinitions()
protected void initializeFields()
initializeFields
in class DcModule
public boolean isHasReferences()
isHasReferences
in class DcModule
protected void initializeUI()
initializeUI
in class DcModule
TemplateForm
public int[] getSupportedViews()
getSupportedViews
in class DcModule
public boolean equals(java.lang.Object o)
equals
in class DcModule
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |