Commit d46d4110 authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

Updated javascript classdiagram.pu

parent ef3e7afe
@startuml
scale max 2100*2970
skinparam classAttributeIconSize 0
package "QfqNS" {
class Alert {
-makeAlertContainerSingleton()
-countAlertsInAlertContainer()
-getAlertClassbasedOnMessageTyp()
-getButtons()
-afterFadeIn()
-removeAlert()
-okButtonHandler()
-saveButtonHandler()
-cancelButtonHandler()
+isShown()
+show()
+isShown()
+show()
-afterFadeIn()
-cancelButtonHandler()
-countAlertsInAlertContainer()
-getAlertClassbasedOnMessageTyp()
-getButtons()
-makeAlertContainerSingleton()
-okButtonHandler()
-removeAlert()
-saveButtonHandler()
}
class EventEmitter
class BSTabs
class FileDelete
class FileUpload
class Form
class PageState
class PageTitle <<singleton>>
class QfqForm
class QfqPage
class QfqRecordList
class Log <<singleton>>
class QfqEvents <<mixin>> {
+makePayload()
+onMixin()
}
class BSTabs {
+activateTab()
+getActiveTab()
+getContainingTabIdForFormControl()
+getCurrentTab()
+getTabAnchors()
+getTabIds()
+getTabName()
-fillTabInformation()
-installTabHandlers()
-tabShowHandler()
-getActiveTabFromDOM()
}
class FileDelete {
-setupOnClickHandler()
-buttonClicked()
-performFileDelete()
-prepareData()
-ajaxSuccessHandler()
-ajaxErrorHandler()
}
class FileUpload {
-setupOnChangeHandler()
-performFileUpload()
-prepareData()
-ajaxSuccessHandler()
-ajaxErrorHandler()
}
class Form {
+getFormChanged()
+resetFormChanged()
+submitTo()
+validate()
-ajaxSuccessHandler()
-changeHandler()
-serialize()
-submitFailureHandler()
}
class PageState {
-popStateHandler()
+getPageState()
+getPageData()
+setPageState()
+newPageState()
}
class PageTitle <<static>> {
+set()
+get()
+setSubTitle()
}
class QfqForm {
+getSip()
+submit()
-ajaxDeleteSuccessDispatcher()
-applyElementConfiguration()
-changeHandler()
-clearAllValidationStates()
-destroyFormAndSetText()
-endUploadHandler()
-fileDeleteSuccessHandler()
-fileUploadSuccessHandler()
-formUpdateHandler()
-getCloseButton()
-getDeleteButton()
-getFormGroupByControlName()
-getNewButton()
-getNewButtonTarget()
-getSaveButton()
-handleCloseClick()
-handleDeleteClick()
-handleDeleteSuccess()
-handleFormUpdate()
-handleLogicDeleteError()
-handleLogicSubmitError()
-handleNewClick()
-handleSaveClick()
-handleSubmitSuccess()
-readElementConfigurationData()
-resetHandler()
-resetValidationState()
-setBsTabs()
-setButtonEnabled()
-setHelpBlockValidationMessage()
-setValidationState()
-setupFormUpdateHandler()
-startUploadHandler()
-submitSuccessDispatcher()
}
class QfqPage {
-destroyFormHandler()
-tabShowHandler()
-popStateHandler()
}
class QfqRecordList {
-connectClickHandler()
-handleDeleteButtonClick()
-ajaxDeleteSuccessDispatcher()
-handleDeleteSuccess()
-getRecordElement()
-handleLogicDeleteError()
}
class Log <<static>> {
+message()
+debug()
+warning()
+error()
}
Alert .. FileDelete
Alert .. QfqForm
......@@ -44,27 +156,56 @@ PageTitle .. QfqPage
BSTabs "1" <--* "1" QfqForm
Form "1" <--* "1" QfqForm
EventEmitter "1" <--* "1" QfqForm
QfqEvents "1" <--* "1" QfqForm
FileUpload "1" <--* "1" QfqForm
FileDelete "1" <--* "1" QfqForm
EventEmitter "1" <--* "1" PageState
QfqEvents <-- Alert
QfqEvents "1" <--* "1" PageState
Log .. PageState
EventEmitter "1" <--* "1" FileUpload
QfqEvents "1" <--* "1" FileUpload
EventEmitter "1" <--* "1" FileDelete
QfqEvents "1" <--* "1" FileDelete
EventEmitter "1" <--* "1" BSTabs
QfqEvents "1" <--* "1" BSTabs
EventEmitter <-- QfqEvents
}
package "QfqNS.Element" {
class Checkbox
class FormGroup
class Radio
class Select
class Textual
class Checkbox {
+setValue()
+getValue()
}
class FormGroup {
+hasHelpBlock()
+hasLabel()
+isType()
+setEnabled()
+setHidden()
+setReadOnly()
+setRequired()
-$findFormGroup()
-readOnlyHandler()
}
class Radio {
+setValue()
+getValue()
}
class Select {
+getValue()
+setValue()
-clearSelection()
-setSelection()
}
class Textual {
+setValue()
+getValue()
}
FormGroup <-- Checkbox
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment