Public Member Functions | |
EditableGrid () | |
boolean | isAllowDeletions () |
void | setAllowDeletions (boolean allowDeletions) |
boolean | isAllowInsertions () |
void | setAllowInsertions (boolean allowInsertions) |
EditableCell | getCurrentCell () |
Row | getLastRow () |
boolean | isReadOnly () |
void | setReadOnly (boolean readOnly) |
boolean | isSelectInput () |
void | setSelectInput (boolean selectInput) |
boolean | isShowZeros () |
void | setShowZeros (boolean showZeros) |
void | clearTable () |
void | clearFoot () |
void | clearRows () |
void | clearValidRows () |
void | clearColumns () |
List< V > | getValues () |
List< V > | getAllValues () |
EventListener | getEditListener () |
EventListener | getNextListener () |
EventListener | getKeyListener () |
EventListener | getBlurListener () |
EventListener | getCancelListener () |
void | processEdition (EditableCell editableCell) |
void | cancelEdition () |
HtmlBasedComponent | getEditor (EditableCell editableCell) |
Row | appendValue () |
Row | addNewRow () |
void | deleteSelectedRow (final Row row) |
void | insertInSelectedRow (Row row) |
Column | getEditableColumn (int cellIndex) |
void | updateRow (Row row) |
void | updateRows () |
EditableColumn | addColumn (String label, Class javaClass, String property, String format, int scale, boolean onlyDate, boolean readOnly) |
EditableColumn | addColumn (String label, String javaClass, String property, String format, int scale, boolean onlyDate, boolean readOnly) throws ClassNotFoundException |
EditableColumn | addColumn (String image, String tooltip, Class javaClass, String property, String format, int scale, boolean onlyDate, boolean readOnly) |
EditableColumn | addColumn (String image, String tooltip, String javaClass, String property, String format, int scale, boolean onlyDate, boolean readOnly) throws ClassNotFoundException |
void | afterCompose () |
Public Member Functions inherited from org.turro.zkoss.grid.PagingGrid | |
void | setColumns (int columns) |
void | setColumns (String hflexs) |
void | refine () |
boolean | isDefaultBehavior () |
void | setDefaultBehavior (boolean defaultBehavior) |
String | getRefineValue () |
void | setRefineValue (String value) |
int | getMaxResults () |
void | setMaxResults (int maxResults) |
String | getPagingMold () |
void | setPagingMold (String pagingMold) |
int | getRowCount () |
void | setRowCount (int rows) |
void | setHeadersVisible (boolean value) |
boolean | isHeadersVisible () |
String | getVarColumns () |
void | setVarColumns (String varColumns) |
Collection< String > | getVarColumnsList (String defaultCols) |
void | addDetailColumn () |
void | addDetailColumn (HtmlBasedComponent caption) |
void | openDetails () |
boolean | isEmpty () |
void | clearEmptyGroups () |
Columns | getColumns (boolean create) |
Rows | getRows (boolean create) |
Foot | getFoot (boolean create) |
Foot | createFoot () |
void | exportToPdf () |
Public Attributes | |
EditEventListener | editListener |
NextEventListener | nextListener |
KeyEventListener | keyListener |
CancelEventListener | cancelListener |
BlurEventListener | blurListener |
boolean | allowInsertions |
Protected Member Functions | |
Object | getCellValue (EditableCell editableCell) |
Object | getEditorValue (EditableCell editableCell) |
void | setCellValue (EditableCell editableCell, Object value) |
String | formatCell (EditableCell editableCell, Object value) |
HtmlBasedComponent | createEditor (EditableCell editableCell) |
HtmlBasedComponent | createRenderer (EditableCell editableCell) |
void | cellChanged (EditableCell editableCell, Object value) |
boolean | isCellValid (EditableCell editableCell, Object value) |
boolean | canDeleteRow (Row row) |
boolean | canEditRow (Row row) |
abstract void | initiateRow (Row row, V value) |
abstract boolean | deleteRow (Row row) |
abstract void | rowChanged (Row row) |
abstract boolean | isValid (V v) |
Protected Attributes | |
EditableCell | currentCell |
String | ctrlKeys |
Row | lastRow |
Definition at line 46 of file EditableGrid.java.
Definition at line 63 of file EditableGrid.java.
EditableColumn org.turro.zkoss.grid.EditableGrid< V >.addColumn | ( | String | image, |
String | tooltip, | ||
Class | javaClass, | ||
String | property, | ||
String | format, | ||
int | scale, | ||
boolean | onlyDate, | ||
boolean | readOnly | ||
) |
Definition at line 372 of file EditableGrid.java.
EditableColumn org.turro.zkoss.grid.EditableGrid< V >.addColumn | ( | String | image, |
String | tooltip, | ||
String | javaClass, | ||
String | property, | ||
String | format, | ||
int | scale, | ||
boolean | onlyDate, | ||
boolean | readOnly | ||
) | throws ClassNotFoundException |
EditableColumn org.turro.zkoss.grid.EditableGrid< V >.addColumn | ( | String | label, |
Class | javaClass, | ||
String | property, | ||
String | format, | ||
int | scale, | ||
boolean | onlyDate, | ||
boolean | readOnly | ||
) |
Definition at line 332 of file EditableGrid.java.
EditableColumn org.turro.zkoss.grid.EditableGrid< V >.addColumn | ( | String | label, |
String | javaClass, | ||
String | property, | ||
String | format, | ||
int | scale, | ||
boolean | onlyDate, | ||
boolean | readOnly | ||
) | throws ClassNotFoundException |
Row org.turro.zkoss.grid.EditableGrid< V >.addNewRow | ( | ) |
Definition at line 271 of file EditableGrid.java.
void org.turro.zkoss.grid.EditableGrid< V >.afterCompose | ( | ) |
Reimplemented in org.turro.zkoss.grid.CollectionGrid< V >, org.turro.jpa.grid.JpaGrid< V >, org.turro.contacts.form.RelationGrid, org.turro.contacts.form.ConnectorGrid, org.turro.contacts.form.CommentsGrid, org.turro.contacts.form.AddressGrid, org.turro.financials.register.StatementGrid, org.turro.financials.register.MultiRegisterGrid, org.turro.financials.register.EntriesGrid, org.turro.financials.product.ProductContractorGrid, org.turro.financials.portfolio.PortfolioDisagreementsGrid, org.turro.financials.payroll.PayrollExpiriesGrid, org.turro.financials.document.DocumentRegisterView, org.turro.financials.document.DocumentRegistersGrid, org.turro.financials.document.DocumentLinesGrid, org.turro.financials.document.DocumentExpiriesGrid, org.turro.financials.document.DocumentAmountsGrid, org.turro.financials.contract.ContractDisagreementsGrid, org.turro.erp.task.usage.UsageGrid, and org.turro.erp.task.usage.ReceiptGrid.
Definition at line 596 of file EditableGrid.java.
Row org.turro.zkoss.grid.EditableGrid< V >.appendValue | ( | ) |
Definition at line 263 of file EditableGrid.java.
void org.turro.zkoss.grid.EditableGrid< V >.cancelEdition | ( | ) |
Definition at line 230 of file EditableGrid.java.
|
protected |
Reimplemented in org.turro.erp.sales.CustomerOrderLinesGrid, and org.turro.erp.reference.OrderReferenceGrid.
Definition at line 587 of file EditableGrid.java.
|
protected |
Reimplemented in org.turro.erp.sales.CustomerOrderLinesGrid, and org.turro.erp.reference.OrderReferenceGrid.
Definition at line 591 of file EditableGrid.java.
|
protected |
Reimplemented in org.turro.zkoss.grid.CollectionGrid< V >, org.turro.financials.register.MultiRegisterGrid, org.turro.financials.product.ProductContractorGrid, org.turro.financials.payroll.PayrollExpiriesGrid, org.turro.financials.document.DocumentLinesGrid, org.turro.financials.document.DocumentExpiriesGrid, and org.turro.erp.purchase.HoursGrid.
Definition at line 579 of file EditableGrid.java.
void org.turro.zkoss.grid.EditableGrid< V >.clearColumns | ( | ) |
Reimplemented from org.turro.zkoss.grid.PagingGrid.
Definition at line 145 of file EditableGrid.java.
void org.turro.zkoss.grid.EditableGrid< V >.clearFoot | ( | ) |
Definition at line 121 of file EditableGrid.java.
void org.turro.zkoss.grid.EditableGrid< V >.clearRows | ( | ) |
Reimplemented from org.turro.zkoss.grid.PagingGrid.
Definition at line 127 of file EditableGrid.java.
void org.turro.zkoss.grid.EditableGrid< V >.clearTable | ( | ) |
Reimplemented in org.turro.zkoss.grid.CollectionGrid< V >.
Definition at line 115 of file EditableGrid.java.
void org.turro.zkoss.grid.EditableGrid< V >.clearValidRows | ( | ) |
Definition at line 133 of file EditableGrid.java.
|
protected |
Reimplemented in org.turro.erp.purchase.ProductsGrid, org.turro.erp.purchase.HoursGrid, org.turro.skills.RootSkillsGrid, org.turro.polls.PollOptionGrid, org.turro.dossier.zul.issue.IssueParticipantGrid, org.turro.dossier.zul.dossier.WorthDefinitionGrid, org.turro.dossier.zul.dossier.DossierVersionGrid, org.turro.dossier.zul.dossier.DossierParticipantGrid, org.turro.dossier.zul.dossier.DescriptorDefinitionGrid, org.turro.dossier.zul.dossier.CategoryParticipantGrid, org.turro.crm.zul.vendor.FormulaGrid, org.turro.crm.zul.sale.VendorProspectGrid, org.turro.crm.zul.sale.CampaignVendorGrid, org.turro.crm.zul.customer.CustomerOwnersGrid, org.turro.zul.groupit.GroupedGrid, org.turro.zul.fieldit.FieldItGrid, org.turro.contacts.zul.contact.ConnectorGrid, org.turro.contacts.form.RelationGrid, org.turro.contacts.form.ConnectorGrid, org.turro.contacts.form.AddressGrid, org.turro.financials.register.MultiRegisterGrid, org.turro.financials.product.ProductContractorGrid, org.turro.financials.payroll.PayrollExpiriesGrid, org.turro.financials.linetype.LineTypeAccountGrid, org.turro.financials.document.RelatedStoreDefinitionGrid, org.turro.financials.document.RelatedLineTypeGrid, org.turro.financials.document.RelatedColumnGrid, org.turro.financials.document.DocumentLinesGrid, org.turro.financials.document.DocumentExpiriesGrid, org.turro.financials.contract.RelatedDocumentGrid, org.turro.financials.contract.RelatedContractStoreGrid, org.turro.financials.contract.ProductGrid, org.turro.financials.contract.DocumentWorkflowGrid, org.turro.financials.contract.ContractTaxesGrid, org.turro.financials.contract.ContractParticipantGrid, org.turro.financials.contract.ContractExpiriesGrid, org.turro.financials.contract.ContractedGrid, org.turro.financials.business.ServiceGrid, org.turro.financials.business.HeadquartersGrid, org.turro.financials.business.DepartmentGrid, org.turro.financials.business.CompanyGrid, org.turro.financials.account.MajorAccountGrid, org.turro.financials.account.MajorAccountDetailGrid, org.turro.erp.task.usage.UsageGrid, org.turro.erp.task.usage.ReceiptGrid, org.turro.erp.sales.CustomerOrderLinesGrid, and org.turro.erp.reference.OrderReferenceGrid.
Definition at line 509 of file EditableGrid.java.
|
protected |
Reimplemented in org.turro.crm.zul.vendor.FormulaGrid, org.turro.financials.register.StatementGrid, org.turro.financials.register.EntriesGrid, org.turro.financials.portfolio.PortfolioDisagreementsGrid, org.turro.financials.contract.ContractDisagreementsGrid, org.turro.erp.task.usage.UsageGrid, org.turro.erp.task.usage.ReceiptGrid, and org.turro.erp.reference.OrderReferenceGrid.
Definition at line 564 of file EditableGrid.java.
|
abstractprotected |
Reimplemented in org.turro.polls.PollOptionGrid, org.turro.jpa.grid.JpaGrid< V >, org.turro.dossier.zul.issue.IssueParticipantGrid, org.turro.dossier.zul.dossier.WorthDefinitionGrid, org.turro.dossier.zul.dossier.DossierVersionGrid, org.turro.dossier.zul.dossier.DossierParticipantGrid, org.turro.dossier.zul.dossier.DescriptorDefinitionGrid, org.turro.dossier.zul.dossier.CategoryParticipantGrid, org.turro.crm.zul.sector.TechnologyGrid, org.turro.crm.zul.sector.ActivitySectorGrid, org.turro.crm.zul.sale.VendorProspectGrid, org.turro.crm.zul.sale.CampaignVendorGrid, org.turro.crm.zul.customer.CustomerOwnersGrid, org.turro.zul.groupit.GroupedGrid, org.turro.zul.fieldit.FieldItGrid, org.turro.contacts.zul.contact.ConnectorGrid, org.turro.contacts.form.RelationGrid, org.turro.contacts.form.ConnectorGrid, org.turro.contacts.form.CommentsGrid, org.turro.contacts.form.AddressGrid, org.turro.financials.register.StatementGrid, org.turro.financials.register.MultiRegisterGrid, org.turro.financials.register.EntriesGrid, org.turro.financials.product.ProductContractorGrid, org.turro.financials.portfolio.PortfolioDisagreementsGrid, org.turro.financials.payroll.PayrollExpiriesGrid, org.turro.financials.linetype.LineTypeAccountGrid, org.turro.financials.document.RelatedStoreDefinitionGrid, org.turro.financials.document.RelatedLineTypeGrid, org.turro.financials.document.RelatedColumnGrid, org.turro.financials.document.DocumentRegisterView, org.turro.financials.document.DocumentRegistersGrid, org.turro.financials.document.DocumentLinesGrid, org.turro.financials.document.DocumentExpiriesGrid, org.turro.financials.document.DocumentAmountsGrid, org.turro.financials.contract.RelatedDocumentGrid, org.turro.financials.contract.RelatedContractStoreGrid, org.turro.financials.contract.ProductGrid, org.turro.financials.contract.DocumentWorkflowGrid, org.turro.financials.contract.ContractTaxesGrid, org.turro.financials.contract.ContractPreferencesGrid, org.turro.financials.contract.ContractParticipantGrid, org.turro.financials.contract.ContractExpiriesGrid, org.turro.financials.contract.ContractedGrid, org.turro.financials.contract.ContractDisagreementsGrid, org.turro.financials.business.StoreGrid, org.turro.financials.business.ServiceGrid, org.turro.financials.business.HeadquartersGrid, org.turro.financials.business.DepartmentGrid, org.turro.financials.assets.DepreciationsGrid, org.turro.financials.account.MajorAccountDetailGrid, org.turro.erp.task.usage.UsageGrid, org.turro.erp.task.usage.ReceiptGrid, org.turro.erp.sales.CustomerOrderLinesGrid, org.turro.erp.reference.OrderReferenceGrid, org.turro.erp.reference.BreakdownGrid, org.turro.erp.purchase.ProductsGrid, org.turro.erp.purchase.HoursGrid, and org.turro.erp.aptitude.AptitudeDegreeGrid.
void org.turro.zkoss.grid.EditableGrid< V >.deleteSelectedRow | ( | final Row | row | ) |
Reimplemented in org.turro.zkoss.grid.CollectionGrid< V >.
Definition at line 283 of file EditableGrid.java.
|
protected |
Reimplemented in org.turro.polls.PollOptionGrid, org.turro.dossier.zul.issue.IssueParticipantGrid, org.turro.dossier.zul.dossier.WorthDefinitionGrid, org.turro.dossier.zul.dossier.DossierParticipantGrid, org.turro.dossier.zul.dossier.DescriptorDefinitionGrid, org.turro.dossier.zul.dossier.CategoryParticipantGrid, org.turro.crm.zul.sale.VendorProspectGrid, org.turro.crm.zul.sale.CampaignVendorGrid, org.turro.crm.zul.customer.CustomerOwnersGrid, org.turro.zul.groupit.GroupedGrid, org.turro.zul.fieldit.FieldItGrid, org.turro.contacts.form.RelationGrid, org.turro.financials.register.MultiRegisterGrid, org.turro.financials.product.ProductContractorGrid, org.turro.financials.payroll.PayrollExpiriesGrid, org.turro.financials.linetype.LineTypeAccountGrid, org.turro.financials.document.RelatedStoreDefinitionGrid, org.turro.financials.document.RelatedLineTypeGrid, org.turro.financials.document.RelatedColumnGrid, org.turro.financials.document.DocumentRegisterView, org.turro.financials.document.DocumentRegistersGrid, org.turro.financials.document.DocumentLinesGrid, org.turro.financials.document.DocumentExpiriesGrid, org.turro.financials.contract.RelatedDocumentGrid, org.turro.financials.contract.RelatedContractStoreGrid, org.turro.financials.contract.ProductGrid, org.turro.financials.contract.DocumentWorkflowGrid, org.turro.financials.contract.ContractTaxesGrid, org.turro.financials.contract.ContractParticipantGrid, org.turro.financials.contract.ContractExpiriesGrid, org.turro.financials.contract.ContractedGrid, org.turro.financials.business.ServiceGrid, org.turro.financials.business.HeadquartersGrid, org.turro.financials.business.DepartmentGrid, org.turro.financials.business.CompanyGrid, org.turro.financials.account.MajorAccountGrid, org.turro.financials.account.MajorAccountDetailGrid, org.turro.erp.task.usage.UsageGrid, org.turro.erp.task.usage.ReceiptGrid, org.turro.erp.sales.CustomerOrderLinesGrid, org.turro.erp.reference.OrderReferenceGrid, org.turro.erp.purchase.ProductsGrid, and org.turro.erp.purchase.HoursGrid.
Definition at line 483 of file EditableGrid.java.
List<V> org.turro.zkoss.grid.EditableGrid< V >.getAllValues | ( | ) |
EventListener org.turro.zkoss.grid.EditableGrid< V >.getBlurListener | ( | ) |
Definition at line 190 of file EditableGrid.java.
EventListener org.turro.zkoss.grid.EditableGrid< V >.getCancelListener | ( | ) |
Definition at line 197 of file EditableGrid.java.
|
protected |
Definition at line 415 of file EditableGrid.java.
EditableCell org.turro.zkoss.grid.EditableGrid< V >.getCurrentCell | ( | ) |
Column org.turro.zkoss.grid.EditableGrid< V >.getEditableColumn | ( | int | cellIndex | ) |
Definition at line 303 of file EditableGrid.java.
EventListener org.turro.zkoss.grid.EditableGrid< V >.getEditListener | ( | ) |
Definition at line 169 of file EditableGrid.java.
HtmlBasedComponent org.turro.zkoss.grid.EditableGrid< V >.getEditor | ( | EditableCell | editableCell | ) |
Definition at line 237 of file EditableGrid.java.
|
protected |
Reimplemented in org.turro.dossier.zul.issue.IssueParticipantGrid, org.turro.dossier.zul.dossier.DossierParticipantGrid, org.turro.dossier.zul.dossier.CategoryParticipantGrid, org.turro.zul.groupit.GroupedGrid, org.turro.zul.fieldit.FieldItGrid, org.turro.contacts.form.RelationGrid, org.turro.financials.document.DocumentLinesGrid, org.turro.financials.contract.ContractParticipantGrid, org.turro.financials.contract.ContractExpiriesGrid, org.turro.financials.business.HeadquartersGrid, org.turro.financials.business.CompanyGrid, org.turro.erp.task.usage.UsageGrid, and org.turro.erp.task.usage.ReceiptGrid.
Definition at line 430 of file EditableGrid.java.
EventListener org.turro.zkoss.grid.EditableGrid< V >.getKeyListener | ( | ) |
Definition at line 183 of file EditableGrid.java.
Row org.turro.zkoss.grid.EditableGrid< V >.getLastRow | ( | ) |
EventListener org.turro.zkoss.grid.EditableGrid< V >.getNextListener | ( | ) |
Definition at line 176 of file EditableGrid.java.
List<V> org.turro.zkoss.grid.EditableGrid< V >.getValues | ( | ) |
Definition at line 151 of file EditableGrid.java.
|
abstractprotected |
void org.turro.zkoss.grid.EditableGrid< V >.insertInSelectedRow | ( | Row | row | ) |
Definition at line 294 of file EditableGrid.java.
boolean org.turro.zkoss.grid.EditableGrid< V >.isAllowDeletions | ( | ) |
boolean org.turro.zkoss.grid.EditableGrid< V >.isAllowInsertions | ( | ) |
|
protected |
Reimplemented in org.turro.erp.purchase.ProductsGrid, and org.turro.erp.purchase.HoursGrid.
Definition at line 583 of file EditableGrid.java.
boolean org.turro.zkoss.grid.EditableGrid< V >.isReadOnly | ( | ) |
boolean org.turro.zkoss.grid.EditableGrid< V >.isSelectInput | ( | ) |
boolean org.turro.zkoss.grid.EditableGrid< V >.isShowZeros | ( | ) |
Definition at line 107 of file EditableGrid.java.
|
abstractprotected |
void org.turro.zkoss.grid.EditableGrid< V >.processEdition | ( | EditableCell | editableCell | ) |
Definition at line 204 of file EditableGrid.java.
|
abstractprotected |
Reimplemented in org.turro.zkoss.grid.CollectionGrid< V >, org.turro.jpa.grid.JpaGrid< V >, org.turro.dossier.zul.issue.IssueParticipantGrid, org.turro.financials.register.MultiRegisterGrid, org.turro.financials.linetype.LineTypeGrid, and org.turro.erp.reference.BreakdownGrid.
void org.turro.zkoss.grid.EditableGrid< V >.setAllowDeletions | ( | boolean | allowDeletions | ) |
void org.turro.zkoss.grid.EditableGrid< V >.setAllowInsertions | ( | boolean | allowInsertions | ) |
|
protected |
Reimplemented in org.turro.polls.PollOptionGrid.
Definition at line 464 of file EditableGrid.java.
void org.turro.zkoss.grid.EditableGrid< V >.setReadOnly | ( | boolean | readOnly | ) |
void org.turro.zkoss.grid.EditableGrid< V >.setSelectInput | ( | boolean | selectInput | ) |
Definition at line 103 of file EditableGrid.java.
void org.turro.zkoss.grid.EditableGrid< V >.setShowZeros | ( | boolean | showZeros | ) |
void org.turro.zkoss.grid.EditableGrid< V >.updateRow | ( | Row | row | ) |
Definition at line 311 of file EditableGrid.java.
void org.turro.zkoss.grid.EditableGrid< V >.updateRows | ( | ) |
Definition at line 326 of file EditableGrid.java.
boolean org.turro.zkoss.grid.EditableGrid< V >.allowInsertions |
Definition at line 53 of file EditableGrid.java.
BlurEventListener org.turro.zkoss.grid.EditableGrid< V >.blurListener |
Definition at line 52 of file EditableGrid.java.
CancelEventListener org.turro.zkoss.grid.EditableGrid< V >.cancelListener |
Definition at line 51 of file EditableGrid.java.
|
protected |
Definition at line 58 of file EditableGrid.java.
|
protected |
Definition at line 57 of file EditableGrid.java.
EditEventListener org.turro.zkoss.grid.EditableGrid< V >.editListener |
Definition at line 48 of file EditableGrid.java.
KeyEventListener org.turro.zkoss.grid.EditableGrid< V >.keyListener |
Definition at line 50 of file EditableGrid.java.
|
protected |
Definition at line 59 of file EditableGrid.java.
NextEventListener org.turro.zkoss.grid.EditableGrid< V >.nextListener |
Definition at line 49 of file EditableGrid.java.