Public Member Functions | |
void | setConfiguration (MixConfiguration a_conf) throws IOException |
void | dateChanged () |
void | itemStateChanged (ItemEvent a_event) |
void | stateChanged (ChangeEvent event) |
void | mouseClicked (MouseEvent a_event) |
void | mouseEntered (MouseEvent a_event) |
void | mouseExited (MouseEvent a_event) |
void | mousePressed (MouseEvent a_event) |
void | mouseReleased (MouseEvent a_event) |
void | actionPerformed (ActionEvent ae) |
void | focusGained (FocusEvent e) |
void | focusLost (FocusEvent e) |
synchronized Vector< String > | check () |
String | getHelpContext () |
Container | getHelpExtractionDisplayContext () |
void | load () throws IOException |
void | save () throws IOException |
void | updateFromInfoService () |
Static Public Member Functions | |
static TermsAndConditionsPanel | get () |
Static Public Attributes | |
static final String | XML_ELEMENT_TEMPLATES = "Templates" |
static final String | XML_ELEMENT_TEMPLATE = "Template" |
static final String | XML_ELEMENT_TC_OPTIONS = "TermsAndConditionsOptions" |
static final String | XML_ELEMENT_TC_TRANSLATION_IMPORTS = "TCTranslationImports" |
static final String | XMLPATH_TERMS_OPTIONS = XML_ELEMENT_TC_OPTIONS |
static final String | PRIVACY_POLICY_TAG = "PrivacyPolicyUrl" |
static final String | LEGAL_OPINIONS_TAG = "LegalOpinionsUrl" |
static final String | OPERATIONAL_AGREEMENT_TAG = "OperationalAgreementUrl" |
static final String | TEMPLATE_EXPORT_ENCODING = "UTF-8" |
Protected Member Functions | |
void | load (Container a_container) throws IOException |
void | load (JComboBox a_comboBox) |
void | save (Container a_container) throws IOException |
void | save (JComboBox a_comboBox) |
void | enableComponents () |
Package Functions | |
TermsAndConditionsTranslation | getPreviewTranslation () |
boolean | isPreviewPossible () |
Package Attributes | |
TitledGridBagPanel | panelOperatorLeft |
TitledGridBagPanel | panelOperatorRight |
DateFormat | m_dateFormatter = new SimpleDateFormat(TermsAndConditions.DATE_FORMAT) |
Static Package Attributes | |
static final String | MSG_PREVIEW = TermsAndConditionsPanel.class.getName() + "_preview" |
static final String | MSG_RESET = TermsAndConditionsPanel.class.getName() + "_reset" |
static final String | MSG_TEMPLATE_LABEL = TermsAndConditionsPanel.class.getName() + "_templateLabel" |
static final String | MSG_TRANSLATION_LABEL = TermsAndConditionsPanel.class.getName() + "_translationLabel" |
static final String | MSG_SECTION = TermsAndConditionsPanel.class.getName() + "_section" |
static final String | MSG_PARAGRAPH = TermsAndConditionsPanel.class.getName() + "_paragraph" |
static final String | MSG_CONTENT = TermsAndConditionsPanel.class.getName() + "_content" |
Private Member Functions | |
TermsAndConditionsPanel () | |
void | load (Document configDoc) throws IOException |
DialogResult< LanguageMapper > | showAddTranslationsDialog (String selected) |
boolean | checkTemplatePath (TemplateReferenceID templateRefID) |
void | showContentDialog () |
TermsAndConditionsTemplate | getSelectedTemplate () |
void | actionAddTranslation () |
void | actionPreviewTranslation () |
void | actionLoadTemplateFromFile () |
void | actionImportWhole () |
void | actionExportTemplate () |
void | actionDeleteTemplate () |
void | actionSetTemplatePath () |
void | actionDeleteTranslation () |
void | actionDefaultTranslation () |
void | loadDate () |
void | loadTranslation (TermsAndConditionsTranslation translation) |
ServiceOperator | getServiceOperator () |
void | initTermsAndConditionsSettings (Document configDoc) throws IOException, NotLoadedException |
void | initGeneralAddress () |
void | initTemplates (Document configDoc) |
void | initTranslations () |
synchronized void | saveAndLog () |
InfoServiceTableModel | getInfoServices () |
TermsAndConditionsTemplate | getTemplateFromURL (URL templateURL) throws IOException, XMLParseException |
void | saveDate () |
Element | getSpecifiedTemplatesElement (Document ownerDoc) |
void | saveTranslation (TermsAndConditionsTranslation translation) |
void | saveGeneralAddress () |
void | clearTranslationFields () |
boolean | selectTemplateReferenceID (String templateReferenceID) |
boolean | isATranslationLoaded () |
boolean | isTemplateReferenceIdInComboBox (String templateReferenceID) |
boolean | isAddTranslationPossible () |
boolean | isDefaultLanguagePossible () |
boolean | isDeleteTranslationPossible () |
boolean | isWrongTemplateSet () |
boolean | isContentManagementPossible () |
boolean | isTransformationPossible () |
boolean | isExportTemplatePossible () |
boolean | isDeleteTemplatePossible () |
TermsAndConditionsTranslation | getSelectedTranslation () |
TemplateReferenceID | getSelectedTemplateReferenceID () |
Vector< TemplateReferenceID > | getAllTemplateReferenceIds () |
Vector< TemplateReferenceID > | getMatchingTemplateReferenceIDs (String type, String langCode, Date date) |
Static Private Member Functions | |
static void | updateObject (JComboBox comboBox, Object o, boolean selectForced) |
static void | removeFirstPlaceHolder (JComboBox comboBox) |
Private Attributes | |
DefaultComboBoxModel | m_modelReferenceIDs = new DefaultComboBoxModel() |
JComboBox | m_cbReferenceIDs = new JComboBox(m_modelReferenceIDs) |
JComboBox | m_cbTranslations = new JComboBox() |
boolean | m_bIgnoreTemplateWarningMessages = false |
JButton | m_btnPreview |
JButton | m_btnAddTranslation |
JButton | m_btnDefaultTranslation |
JButton | m_btnDeleteTranslation |
JLabel | m_lblWarningWrongTemplate |
JLabel | m_lblNoticeTemplatePath |
JButton | m_btnInfoServiceTemplate |
JButton | m_btnFileTemplate |
JButton | m_btnExportTemplate |
JButton | m_btnDeleteTemplate |
JButton | m_btnImportWhole |
JButton | m_btnContent |
DatePanel | m_pnlDate |
JTextField | m_tf_templateURL |
JTextField | m_tf_general_additionalInfo |
JTextField | m_tf_general_Street |
JTextField | m_tf_general_Post |
JTextField | m_tf_general_City |
JTextField | m_tf_general_VAT |
JTextField | m_tf_general_Fax |
JTextField | m_tf_general_Venue |
JTextField | m_tf_lang_additionalInfo |
JTextField | m_tf_lang_Street |
JTextField | m_tf_lang_Post |
JTextField | m_tf_lang_City |
JTextField | m_tf_lang_Fax |
JTextField | m_tf_lang_Venue |
JTextField | m_tfUrlPP |
JTextField | m_tfUrlLO |
JTextField | m_tfUrlOA |
JTextField | m_tf_templateReferenceId |
PropertyToComponentMapping < JTextField >[] | generalAddressMappings |
PropertyToComponentMapping < JTextField >[] | translationAddressMappings |
PropertyToComponentMapping < JTextField >[] | translationUrlMappings |
TermsAndConditions | operatorTCs = null |
OperatorAddress | generalAddress = null |
String | selectedLanguage = "" |
File | lastOpened = null |
boolean | savingEnabled = true |
boolean | m_bInitialisingTranslations = false |
Static Private Attributes | |
static final String | MSG_TC_CAPTION = TermsAndConditionsPanel.class.getName() + "_caption" |
static final String | MSG_TITLE_OP_GENERAL = TermsAndConditionsPanel.class.getName() + "_titleopGeneral" |
static final String | MSG_TITLE_OP_WITH_LANG = TermsAndConditionsPanel.class.getName() + "_titleopWithLang" |
static final String | MSG_TITLE_URLS = TermsAndConditionsPanel.class.getName() + "_titleurls" |
static final String | MSG_ADD_TRANSLATIONS_DIALOG = TermsAndConditionsPanel.class.getName() + "_addTranslationsDialog" |
static final String | MSG_TEMPLATE_MISMATCH = TermsAndConditionsPanel.class.getName() + "_templateMismatch" |
static final String | MSG_INFOSERVICE = TermsAndConditionsPanel.class.getName() + "_infoservice" |
static final String | MSG_URL = TermsAndConditionsPanel.class.getName() + "_url" |
static final String | MSG_PATH = TermsAndConditionsPanel.class.getName() + "_path" |
static final String | MSG_FILE = TermsAndConditionsPanel.class.getName() + "_file" |
static final String | MSG_EXPORT = TermsAndConditionsPanel.class.getName() + "_export" |
static final String | MSG_DEFAULT_TRANSLATION = TermsAndConditionsPanel.class.getName() + "_defaultTranslation" |
static final String | MSG_AVAIL_LANG_LABEL = TermsAndConditionsPanel.class.getName() + "_availableLanguagesLabel" |
static final String | MSG_VALID_LABEL = TermsAndConditionsPanel.class.getName() + "_validLabel" |
static final String | MSG_LANGUAGE_LABEL = TermsAndConditionsPanel.class.getName() + "_languageLabel" |
static final String | MSG_STREET_LABEL = TermsAndConditionsPanel.class.getName() + "_streetLabel" |
static final String | MSG_ZIP_LABEL = TermsAndConditionsPanel.class.getName() + "_zipLabel" |
static final String | MSG_CITY_LABEL = TermsAndConditionsPanel.class.getName() + "_cityLabel" |
static final String | MSG_FAX_LABEL = TermsAndConditionsPanel.class.getName() + "_faxLabel" |
static final String | MSG_ADDITIONAL_INFO_LABEL = TermsAndConditionsPanel.class.getName() + "_additionalInfoLabel" |
static final String | MSG_VAT_LABEL = TermsAndConditionsPanel.class.getName() + "_vatLabel" |
static final String | MSG_VENUE_LABEL = TermsAndConditionsPanel.class.getName() + "_venueLabel" |
static final String | MSG_PRIVACY_POLICY_LABEL = TermsAndConditionsPanel.class.getName() + "_privacyPolicyURLLabel" |
static final String | MSG_LEGAL_OPINIONS_LABEL = TermsAndConditionsPanel.class.getName() + "_legalOpinionsURLLabel" |
static final String | MSG_OP_AGREEMENT_LABEL = TermsAndConditionsPanel.class.getName() + "_operationalAgreementURLLabel" |
static final String | MSG_PHOLDER_NONE_AVAIL = TermsAndConditionsPanel.class.getName() + "_pholderNoneAvail" |
static final String | MSG_PHOLDER_ADD_TRANSLATION = TermsAndConditionsPanel.class.getName() + "_pholderAddTranslation" |
static final String | MSG_PHOLDER_UPDATE = TermsAndConditionsPanel.class.getName() + "_pholderUpdate" |
static final String | MSG_FILE_EXISTS = TermsAndConditionsPanel.class.getName() + "_fileExists" |
static final String | MSG_SAVE_FILE_ERROR = TermsAndConditionsPanel.class.getName() + "_saveFileError" |
static final String | MSG_LOAD_FILE_ERROR = TermsAndConditionsPanel.class.getName() + "_loadFileError" |
static final String | ACTION_CMD_ADD_TRANSLATION = "addTranslation" |
static final String | MSG_EDIT_CONTENT = TermsAndConditionsPanel.class.getName() + "_editContent" |
static final String | MSG_IMPORT_WHOLE = TermsAndConditionsPanel.class.getName() + "_importWhole" |
static final String | MSG_TEMPLATE_NOT_LOADED = TermsAndConditionsPanel.class.getName() + "_templateNotLoaded" |
static final String | MSG_TEMPLATE_NOT_LOADED_TITLE = TermsAndConditionsPanel.class.getName() + "_templateNotLoadedTitle" |
static final String | MSG_TEMPLATE_NOT_DEFINED = TermsAndConditionsPanel.class.getName() + "_templateNotDefined" |
static final String | MSG_TEMPLATE_NOT_DEFINED_TITLE = TermsAndConditionsPanel.class.getName() + "_templateNotDefinedTitle" |
static final String | MSG_WARNING_TEMPLATE_LANGUAGE = TermsAndConditionsPanel.class.getName() + "_warningTemplateLanguage" |
static final String | MSG_RECOMMEND_MIX_PATH = TermsAndConditionsPanel.class.getName() + "_recommendMixPath" |
static Vector< LanguageMapper > | LANGUAGE_CHOICE |
static TermsAndConditionsPanel | panelSingleton = null |
Classes | |
class | ComboBoxPlaceHolder |
class | DialogResult< ResultType > |
class | NotLoadedException |
class | PropertyToComponentMapping< ComponentType extends Component > |
class | TemplateReferenceID |
mixconfig.panels.TermsAndConditionsPanel.TermsAndConditionsPanel | ( | ) | [private] |
Constructor
References mixconfig.panels.TermsAndConditionsPanel.generalAddressMappings, mixconfig.panels.MixConfigPanel.getInitialConstraints(), mixconfig.panels.TermsAndConditionsPanel.m_btnAddTranslation, mixconfig.panels.TermsAndConditionsPanel.m_btnContent, mixconfig.panels.TermsAndConditionsPanel.m_btnDefaultTranslation, mixconfig.panels.TermsAndConditionsPanel.m_btnDeleteTemplate, mixconfig.panels.TermsAndConditionsPanel.m_btnDeleteTranslation, mixconfig.panels.TermsAndConditionsPanel.m_btnExportTemplate, mixconfig.panels.TermsAndConditionsPanel.m_btnFileTemplate, mixconfig.panels.TermsAndConditionsPanel.m_btnImportWhole, mixconfig.panels.TermsAndConditionsPanel.m_btnInfoServiceTemplate, mixconfig.panels.TermsAndConditionsPanel.m_btnPreview, mixconfig.panels.TermsAndConditionsPanel.m_cbReferenceIDs, mixconfig.panels.TermsAndConditionsPanel.m_cbTranslations, mixconfig.panels.TermsAndConditionsPanel.m_lblNoticeTemplatePath, mixconfig.panels.TermsAndConditionsPanel.m_lblWarningWrongTemplate, mixconfig.panels.TermsAndConditionsPanel.m_pnlDate, mixconfig.panels.TermsAndConditionsPanel.m_tf_general_additionalInfo, mixconfig.panels.TermsAndConditionsPanel.m_tf_general_City, mixconfig.panels.TermsAndConditionsPanel.m_tf_general_Fax, mixconfig.panels.TermsAndConditionsPanel.m_tf_general_Post, mixconfig.panels.TermsAndConditionsPanel.m_tf_general_Street, mixconfig.panels.TermsAndConditionsPanel.m_tf_general_VAT, mixconfig.panels.TermsAndConditionsPanel.m_tf_general_Venue, mixconfig.panels.TermsAndConditionsPanel.m_tf_lang_additionalInfo, mixconfig.panels.TermsAndConditionsPanel.m_tf_lang_City, mixconfig.panels.TermsAndConditionsPanel.m_tf_lang_Fax, mixconfig.panels.TermsAndConditionsPanel.m_tf_lang_Post, mixconfig.panels.TermsAndConditionsPanel.m_tf_lang_Street, mixconfig.panels.TermsAndConditionsPanel.m_tf_lang_Venue, mixconfig.panels.TermsAndConditionsPanel.m_tf_templateReferenceId, mixconfig.panels.TermsAndConditionsPanel.m_tf_templateURL, mixconfig.panels.TermsAndConditionsPanel.m_tfUrlLO, mixconfig.panels.TermsAndConditionsPanel.m_tfUrlOA, mixconfig.panels.TermsAndConditionsPanel.m_tfUrlPP, mixconfig.panels.MixConfigPanel.MAX_COLUMN_LENGTH, mixconfig.panels.TermsAndConditionsPanel.MSG_ADDITIONAL_INFO_LABEL, mixconfig.panels.TermsAndConditionsPanel.MSG_CITY_LABEL, mixconfig.panels.TermsAndConditionsPanel.MSG_DEFAULT_TRANSLATION, mixconfig.panels.TermsAndConditionsPanel.MSG_EDIT_CONTENT, mixconfig.panels.TermsAndConditionsPanel.MSG_EXPORT, mixconfig.panels.TermsAndConditionsPanel.MSG_FAX_LABEL, mixconfig.panels.TermsAndConditionsPanel.MSG_FILE, mixconfig.panels.TermsAndConditionsPanel.MSG_IMPORT_WHOLE, mixconfig.panels.TermsAndConditionsPanel.MSG_INFOSERVICE, mixconfig.panels.TermsAndConditionsPanel.MSG_LANGUAGE_LABEL, mixconfig.panels.TermsAndConditionsPanel.MSG_LEGAL_OPINIONS_LABEL, mixconfig.panels.TermsAndConditionsPanel.MSG_OP_AGREEMENT_LABEL, mixconfig.panels.TermsAndConditionsPanel.MSG_PATH, mixconfig.panels.TermsAndConditionsPanel.MSG_PREVIEW, mixconfig.panels.TermsAndConditionsPanel.MSG_PRIVACY_POLICY_LABEL, mixconfig.panels.TermsAndConditionsPanel.MSG_STREET_LABEL, mixconfig.panels.TermsAndConditionsPanel.MSG_TC_CAPTION, mixconfig.panels.TermsAndConditionsPanel.MSG_TEMPLATE_LABEL, mixconfig.panels.TermsAndConditionsPanel.MSG_TITLE_OP_GENERAL, mixconfig.panels.TermsAndConditionsPanel.MSG_TITLE_OP_WITH_LANG, mixconfig.panels.TermsAndConditionsPanel.MSG_TITLE_URLS, mixconfig.panels.TermsAndConditionsPanel.MSG_TRANSLATION_LABEL, mixconfig.panels.TermsAndConditionsPanel.MSG_URL, mixconfig.panels.TermsAndConditionsPanel.MSG_VALID_LABEL, mixconfig.panels.TermsAndConditionsPanel.MSG_VAT_LABEL, mixconfig.panels.TermsAndConditionsPanel.MSG_VENUE_LABEL, mixconfig.panels.TermsAndConditionsPanel.MSG_ZIP_LABEL, mixconfig.panels.TermsAndConditionsPanel.panelOperatorLeft, mixconfig.panels.TermsAndConditionsPanel.panelOperatorRight, mixconfig.panels.TermsAndConditionsPanel.selectedLanguage, mixconfig.panels.TermsAndConditionsPanel.translationAddressMappings, and mixconfig.panels.TermsAndConditionsPanel.translationUrlMappings.
Referenced by mixconfig.panels.TermsAndConditionsPanel.get().
static TermsAndConditionsPanel mixconfig.panels.TermsAndConditionsPanel.get | ( | ) | [static] |
void mixconfig.panels.TermsAndConditionsPanel.setConfiguration | ( | MixConfiguration | a_mixConf | ) | throws IOException |
Informs the panel about a new Mix configuration and makes it load the attribute values from the configuration object into the text fields, combo boxes etc.
a_mixConf | The new configuration |
IOException | If an error occurs while transferring the data |
Reimplemented from mixconfig.panels.MixConfigPanel.
References mixconfig.panels.TermsAndConditionsPanel.enableComponents().
void mixconfig.panels.TermsAndConditionsPanel.dateChanged | ( | ) |
Implement DateListener
References mixconfig.panels.TermsAndConditionsPanel.saveAndLog().
void mixconfig.panels.TermsAndConditionsPanel.itemStateChanged | ( | ItemEvent | a_event | ) |
Implement ItemListener
Reimplemented from mixconfig.panels.MixConfigPanel.
References mixconfig.panels.TermsAndConditionsPanel.enableComponents(), mixconfig.panels.TermsAndConditionsPanel.TemplateReferenceID.getDate(), mixconfig.panels.TermsAndConditionsPanel.getMatchingTemplateReferenceIDs(), mixconfig.panels.TermsAndConditionsPanel.TemplateReferenceID.getReferenceID(), mixconfig.panels.TermsAndConditionsPanel.getSelectedTemplateReferenceID(), mixconfig.panels.TermsAndConditionsPanel.getSelectedTranslation(), mixconfig.panels.TermsAndConditionsPanel.TemplateReferenceID.getSource(), mixconfig.panels.TermsAndConditionsPanel.TemplateReferenceID.getType(), mixconfig.panels.TermsAndConditionsPanel.TemplateReferenceID.isComplete(), mixconfig.panels.TermsAndConditionsPanel.loadTranslation(), mixconfig.panels.TermsAndConditionsPanel.m_bIgnoreTemplateWarningMessages, mixconfig.panels.TermsAndConditionsPanel.m_bInitialisingTranslations, mixconfig.panels.TermsAndConditionsPanel.m_cbReferenceIDs, mixconfig.panels.TermsAndConditionsPanel.m_cbTranslations, mixconfig.panels.TermsAndConditionsPanel.m_lblWarningWrongTemplate, mixconfig.panels.TermsAndConditionsPanel.m_tf_templateURL, mixconfig.panels.TermsAndConditionsPanel.MSG_TITLE_OP_WITH_LANG, mixconfig.panels.TermsAndConditionsPanel.panelOperatorRight, mixconfig.panels.TermsAndConditionsPanel.saveAndLog(), mixconfig.panels.TermsAndConditionsPanel.selectedLanguage, and mixconfig.panels.TermsAndConditionsPanel.selectTemplateReferenceID().
Referenced by mixconfig.panels.TermsAndConditionsPanel.initTranslations(), and mixconfig.panels.TermsAndConditionsPanel.showAddTranslationsDialog().
void mixconfig.panels.TermsAndConditionsPanel.stateChanged | ( | ChangeEvent | event | ) |
void mixconfig.panels.TermsAndConditionsPanel.mouseClicked | ( | MouseEvent | a_event | ) |
void mixconfig.panels.TermsAndConditionsPanel.mouseEntered | ( | MouseEvent | a_event | ) |
void mixconfig.panels.TermsAndConditionsPanel.mouseExited | ( | MouseEvent | a_event | ) |
void mixconfig.panels.TermsAndConditionsPanel.mousePressed | ( | MouseEvent | a_event | ) |
void mixconfig.panels.TermsAndConditionsPanel.mouseReleased | ( | MouseEvent | a_event | ) |
void mixconfig.panels.TermsAndConditionsPanel.actionPerformed | ( | ActionEvent | ae | ) |
Implement ActionListener
References mixconfig.panels.TermsAndConditionsPanel.actionAddTranslation(), mixconfig.panels.TermsAndConditionsPanel.actionDefaultTranslation(), mixconfig.panels.TermsAndConditionsPanel.actionDeleteTemplate(), mixconfig.panels.TermsAndConditionsPanel.actionDeleteTranslation(), mixconfig.panels.TermsAndConditionsPanel.actionExportTemplate(), mixconfig.panels.TermsAndConditionsPanel.actionImportWhole(), mixconfig.panels.TermsAndConditionsPanel.actionLoadTemplateFromFile(), mixconfig.panels.TermsAndConditionsPanel.actionPreviewTranslation(), mixconfig.panels.TermsAndConditionsPanel.enableComponents(), mixconfig.panels.TermsAndConditionsPanel.getSelectedTranslation(), mixconfig.panels.TermsAndConditionsPanel.m_btnAddTranslation, mixconfig.panels.TermsAndConditionsPanel.m_btnContent, mixconfig.panels.TermsAndConditionsPanel.m_btnDefaultTranslation, mixconfig.panels.TermsAndConditionsPanel.m_btnDeleteTemplate, mixconfig.panels.TermsAndConditionsPanel.m_btnDeleteTranslation, mixconfig.panels.TermsAndConditionsPanel.m_btnExportTemplate, mixconfig.panels.TermsAndConditionsPanel.m_btnFileTemplate, mixconfig.panels.TermsAndConditionsPanel.m_btnImportWhole, mixconfig.panels.TermsAndConditionsPanel.m_btnInfoServiceTemplate, mixconfig.panels.TermsAndConditionsPanel.m_btnPreview, mixconfig.panels.TermsAndConditionsPanel.m_cbReferenceIDs, mixconfig.panels.TermsAndConditionsPanel.m_modelReferenceIDs, mixconfig.panels.TermsAndConditionsPanel.saveAndLog(), mixconfig.panels.TermsAndConditionsPanel.selectTemplateReferenceID(), mixconfig.panels.TermsAndConditionsPanel.showContentDialog(), and mixconfig.panels.TermsAndConditionsPanel.updateFromInfoService().
Referenced by mixconfig.panels.TermsAndConditionsPanel.showAddTranslationsDialog().
void mixconfig.panels.TermsAndConditionsPanel.focusGained | ( | FocusEvent | e | ) |
Reimplemented from mixconfig.panels.MixConfigPanel.
void mixconfig.panels.TermsAndConditionsPanel.focusLost | ( | FocusEvent | e | ) |
Reimplemented from mixconfig.panels.MixConfigPanel.
References mixconfig.panels.TermsAndConditionsPanel.actionSetTemplatePath(), mixconfig.panels.TermsAndConditionsPanel.enableComponents(), mixconfig.panels.TermsAndConditionsPanel.m_tf_templateURL, and mixconfig.panels.TermsAndConditionsPanel.saveAndLog().
synchronized Vector<String> mixconfig.panels.TermsAndConditionsPanel.check | ( | ) | [virtual] |
Implement abstract methods from MixConfigPanel
Implements mixconfig.panels.MixConfigPanel.
References mixconfig.panels.TermsAndConditionsPanel.checkTemplatePath(), mixconfig.panels.TermsAndConditionsPanel.getAllTemplateReferenceIds(), mixconfig.panels.MixConfigPanel.getConfiguration(), mixconfig.panels.TermsAndConditionsPanel.TemplateReferenceID.getDate(), mixconfig.panels.TermsAndConditionsPanel.TemplateReferenceID.getReferenceID(), mixconfig.panels.TermsAndConditionsPanel.TemplateReferenceID.getType(), mixconfig.panels.TermsAndConditionsPanel.MSG_WARNING_TEMPLATE_LANGUAGE, mixconfig.panels.TermsAndConditionsPanel.operatorTCs, and mixconfig.panels.TermsAndConditionsPanel.XML_ELEMENT_TC_OPTIONS.
String mixconfig.panels.TermsAndConditionsPanel.getHelpContext | ( | ) |
Implement IHelpContext
Container mixconfig.panels.TermsAndConditionsPanel.getHelpExtractionDisplayContext | ( | ) |
Implement IHelpContext
void mixconfig.panels.TermsAndConditionsPanel.load | ( | ) | throws IOException |
Loads the attribute values from the configuration object into the panel's controls. This method iterates through all components of the panel and reads their names using the getName()
method. If the name is not null
, it retrieves the configuration attribute with the same name and sets the value of the component (text field, combo box etc.) according to the attribute value.
IOException | If loading an attribute from the configuration fails |
Reimplemented from mixconfig.panels.MixConfigPanel.
Referenced by mixconfig.panels.TermsAndConditionsPanel.actionImportWhole(), and mixconfig.panels.TermsAndConditionsPanel.stateChanged().
void mixconfig.panels.TermsAndConditionsPanel.load | ( | Document | configDoc | ) | throws IOException [private] |
References mixconfig.panels.TermsAndConditionsPanel.initGeneralAddress(), mixconfig.panels.TermsAndConditionsPanel.initTemplates(), mixconfig.panels.TermsAndConditionsPanel.initTermsAndConditionsSettings(), mixconfig.panels.TermsAndConditionsPanel.initTranslations(), mixconfig.panels.TermsAndConditionsPanel.loadDate(), mixconfig.panels.TermsAndConditionsPanel.m_lblWarningWrongTemplate, and mixconfig.panels.TermsAndConditionsPanel.savingEnabled.
void mixconfig.panels.TermsAndConditionsPanel.save | ( | ) | throws IOException |
Saves the attribute values from the panel's controls (text fields, combo boxes etc.) to the configuration object. This method iterates through all components of the panel and reads their names using the getName()
method. If the name is not null
, it retrieves the configuration attribute with the same name and sets the attribute value to the value of the component.
IOException | If saving a value to the configuration fails |
Reimplemented from mixconfig.panels.MixConfigPanel.
References mixconfig.panels.TermsAndConditionsPanel.generalAddress, mixconfig.panels.MixConfigPanel.getConfiguration(), mixconfig.MixConfiguration.getDocument(), mixconfig.panels.TermsAndConditionsPanel.getSelectedTranslation(), mixconfig.panels.TermsAndConditionsPanel.getSpecifiedTemplatesElement(), mixconfig.panels.TermsAndConditionsPanel.operatorTCs, mixconfig.panels.TermsAndConditionsPanel.saveDate(), mixconfig.panels.TermsAndConditionsPanel.saveGeneralAddress(), mixconfig.panels.TermsAndConditionsPanel.saveTranslation(), mixconfig.panels.TermsAndConditionsPanel.savingEnabled, mixconfig.panels.TermsAndConditionsPanel.XML_ELEMENT_TC_OPTIONS, and mixconfig.panels.TermsAndConditionsPanel.XML_ELEMENT_TC_TRANSLATION_IMPORTS.
Referenced by mixconfig.panels.TermsAndConditionsPanel.saveAndLog().
void mixconfig.panels.TermsAndConditionsPanel.load | ( | Container | a_container | ) | throws IOException [protected] |
TODO: Add general support for DatePanels to the load() method in MixConfigPanel.java?
a_container |
Reimplemented from mixconfig.panels.MixConfigPanel.
void mixconfig.panels.TermsAndConditionsPanel.load | ( | JComboBox | a_comboBox | ) | [protected] |
Overwrite load() for JComboBoxes
Reimplemented from mixconfig.panels.MixConfigPanel.
References mixconfig.panels.TermsAndConditionsPanel.m_cbReferenceIDs, and mixconfig.panels.TermsAndConditionsPanel.m_cbTranslations.
void mixconfig.panels.TermsAndConditionsPanel.save | ( | Container | a_container | ) | throws IOException [protected] |
TODO: Add support for DatePanels to the save() method in MixConfigPanel?
a_container |
Reimplemented from mixconfig.panels.MixConfigPanel.
void mixconfig.panels.TermsAndConditionsPanel.save | ( | JComboBox | a_comboBox | ) | [protected] |
Overwrite save() for JComboBoxes
Reimplemented from mixconfig.panels.MixConfigPanel.
References mixconfig.panels.TermsAndConditionsPanel.m_cbReferenceIDs, and mixconfig.panels.TermsAndConditionsPanel.m_cbTranslations.
void mixconfig.panels.TermsAndConditionsPanel.enableComponents | ( | ) | [protected, virtual] |
Enables used and disables unused components. Some configuration values are mutually exclusive; the panels must ensure that of two components corresponding to contradictory attributes, only one at a time is enabled.
Implements mixconfig.panels.MixConfigPanel.
References mixconfig.panels.TermsAndConditionsPanel.checkTemplatePath(), mixconfig.panels.TermsAndConditionsPanel.getSelectedTemplateReferenceID(), mixconfig.panels.TermsAndConditionsPanel.isAddTranslationPossible(), mixconfig.panels.TermsAndConditionsPanel.isATranslationLoaded(), mixconfig.panels.TermsAndConditionsPanel.isContentManagementPossible(), mixconfig.panels.TermsAndConditionsPanel.isDefaultLanguagePossible(), mixconfig.panels.TermsAndConditionsPanel.isDeleteTemplatePossible(), mixconfig.panels.TermsAndConditionsPanel.isDeleteTranslationPossible(), mixconfig.panels.TermsAndConditionsPanel.isExportTemplatePossible(), mixconfig.panels.TermsAndConditionsPanel.isPreviewPossible(), mixconfig.panels.TermsAndConditionsPanel.isWrongTemplateSet(), mixconfig.panels.TermsAndConditionsPanel.m_btnAddTranslation, mixconfig.panels.TermsAndConditionsPanel.m_btnContent, mixconfig.panels.TermsAndConditionsPanel.m_btnDefaultTranslation, mixconfig.panels.TermsAndConditionsPanel.m_btnDeleteTemplate, mixconfig.panels.TermsAndConditionsPanel.m_btnDeleteTranslation, mixconfig.panels.TermsAndConditionsPanel.m_btnExportTemplate, mixconfig.panels.TermsAndConditionsPanel.m_btnPreview, mixconfig.panels.TermsAndConditionsPanel.m_cbReferenceIDs, mixconfig.panels.TermsAndConditionsPanel.m_cbTranslations, mixconfig.panels.TermsAndConditionsPanel.m_lblNoticeTemplatePath, mixconfig.panels.TermsAndConditionsPanel.m_lblWarningWrongTemplate, mixconfig.panels.TermsAndConditionsPanel.m_tf_templateURL, mixconfig.panels.TermsAndConditionsPanel.MSG_PHOLDER_ADD_TRANSLATION, mixconfig.panels.TermsAndConditionsPanel.MSG_PHOLDER_UPDATE, and mixconfig.panels.TermsAndConditionsPanel.panelOperatorRight.
Referenced by mixconfig.panels.TermsAndConditionsPanel.actionPerformed(), mixconfig.panels.TermsAndConditionsPanel.focusLost(), mixconfig.panels.TermsAndConditionsPanel.itemStateChanged(), and mixconfig.panels.TermsAndConditionsPanel.setConfiguration().
DialogResult<LanguageMapper> mixconfig.panels.TermsAndConditionsPanel.showAddTranslationsDialog | ( | String | selected | ) | [private] |
References mixconfig.panels.TermsAndConditionsPanel.ACTION_CMD_ADD_TRANSLATION, mixconfig.panels.TermsAndConditionsPanel.actionPerformed(), mixconfig.panels.TermsAndConditionsPanel.itemStateChanged(), mixconfig.panels.TermsAndConditionsPanel.LANGUAGE_CHOICE, mixconfig.panels.TermsAndConditionsPanel.MSG_ADD_TRANSLATIONS_DIALOG, mixconfig.panels.TermsAndConditionsPanel.MSG_AVAIL_LANG_LABEL, and mixconfig.panels.TermsAndConditionsPanel.operatorTCs.
Referenced by mixconfig.panels.TermsAndConditionsPanel.actionAddTranslation().
boolean mixconfig.panels.TermsAndConditionsPanel.checkTemplatePath | ( | TemplateReferenceID | templateRefID | ) | [private] |
void mixconfig.panels.TermsAndConditionsPanel.showContentDialog | ( | ) | [private] |
TermsAndConditionsTemplate mixconfig.panels.TermsAndConditionsPanel.getSelectedTemplate | ( | ) | [private] |
References mixconfig.panels.TermsAndConditionsPanel.TemplateReferenceID.getReferenceID(), and mixconfig.panels.TermsAndConditionsPanel.getSelectedTemplateReferenceID().
Referenced by mixconfig.panels.TermsAndConditionsPanel.actionAddTranslation(), and mixconfig.panels.TermsAndConditionsPanel.showContentDialog().
void mixconfig.panels.TermsAndConditionsPanel.actionAddTranslation | ( | ) | [private] |
References mixconfig.panels.TermsAndConditionsPanel.ACTION_CMD_ADD_TRANSLATION, mixconfig.panels.TermsAndConditionsPanel.getAllTemplateReferenceIds(), mixconfig.panels.TermsAndConditionsPanel.TemplateReferenceID.getDate(), mixconfig.panels.TermsAndConditionsPanel.getMatchingTemplateReferenceIDs(), mixconfig.panels.TermsAndConditionsPanel.getSelectedTemplate(), mixconfig.panels.TermsAndConditionsPanel.getSelectedTemplateReferenceID(), mixconfig.panels.TermsAndConditionsPanel.TemplateReferenceID.getType(), mixconfig.panels.TermsAndConditionsPanel.TemplateReferenceID.isComplete(), mixconfig.panels.TermsAndConditionsPanel.m_cbTranslations, mixconfig.panels.TermsAndConditionsPanel.MSG_TEMPLATE_NOT_DEFINED, mixconfig.panels.TermsAndConditionsPanel.MSG_TEMPLATE_NOT_DEFINED_TITLE, mixconfig.panels.TermsAndConditionsPanel.MSG_TEMPLATE_NOT_LOADED, mixconfig.panels.TermsAndConditionsPanel.MSG_TEMPLATE_NOT_LOADED_TITLE, mixconfig.panels.TermsAndConditionsPanel.operatorTCs, mixconfig.panels.TermsAndConditionsPanel.removeFirstPlaceHolder(), mixconfig.panels.TermsAndConditionsPanel.showAddTranslationsDialog(), mixconfig.panels.TermsAndConditionsPanel.updateFromInfoService(), and mixconfig.panels.TermsAndConditionsPanel.updateObject().
Referenced by mixconfig.panels.TermsAndConditionsPanel.actionPerformed().
void mixconfig.panels.TermsAndConditionsPanel.actionPreviewTranslation | ( | ) | [private] |
void mixconfig.panels.TermsAndConditionsPanel.actionLoadTemplateFromFile | ( | ) | [private] |
References mixconfig.panels.TermsAndConditionsPanel.isTemplateReferenceIdInComboBox(), mixconfig.panels.TermsAndConditionsPanel.lastOpened, mixconfig.panels.TermsAndConditionsPanel.m_cbReferenceIDs, mixconfig.panels.TermsAndConditionsPanel.MSG_LOAD_FILE_ERROR, mixconfig.panels.TermsAndConditionsPanel.removeFirstPlaceHolder(), and mixconfig.panels.TermsAndConditionsPanel.updateObject().
Referenced by mixconfig.panels.TermsAndConditionsPanel.actionPerformed().
void mixconfig.panels.TermsAndConditionsPanel.actionImportWhole | ( | ) | [private] |
References mixconfig.panels.TermsAndConditionsPanel.lastOpened, mixconfig.panels.TermsAndConditionsPanel.load(), mixconfig.panels.TermsAndConditionsPanel.MSG_LOAD_FILE_ERROR, and mixconfig.panels.TermsAndConditionsPanel.XML_ELEMENT_TC_OPTIONS.
Referenced by mixconfig.panels.TermsAndConditionsPanel.actionPerformed().
void mixconfig.panels.TermsAndConditionsPanel.actionExportTemplate | ( | ) | [private] |
References mixconfig.panels.TermsAndConditionsPanel.TemplateReferenceID.getReferenceID(), mixconfig.panels.TermsAndConditionsPanel.getSelectedTemplateReferenceID(), mixconfig.panels.TermsAndConditionsPanel.lastOpened, mixconfig.panels.TermsAndConditionsPanel.MSG_FILE_EXISTS, mixconfig.panels.TermsAndConditionsPanel.MSG_SAVE_FILE_ERROR, and mixconfig.panels.TermsAndConditionsPanel.TEMPLATE_EXPORT_ENCODING.
Referenced by mixconfig.panels.TermsAndConditionsPanel.actionPerformed().
void mixconfig.panels.TermsAndConditionsPanel.actionDeleteTemplate | ( | ) | [private] |
References mixconfig.panels.TermsAndConditionsPanel.TemplateReferenceID.getReferenceID(), mixconfig.panels.TermsAndConditionsPanel.getSelectedTemplateReferenceID(), and mixconfig.panels.TermsAndConditionsPanel.m_cbReferenceIDs.
Referenced by mixconfig.panels.TermsAndConditionsPanel.actionPerformed().
void mixconfig.panels.TermsAndConditionsPanel.actionSetTemplatePath | ( | ) | [private] |
References mixconfig.panels.TermsAndConditionsPanel.TemplateReferenceID.getReferenceID(), mixconfig.panels.TermsAndConditionsPanel.getSelectedTemplateReferenceID(), mixconfig.panels.TermsAndConditionsPanel.TemplateReferenceID.getSource(), mixconfig.panels.TermsAndConditionsPanel.getTemplateFromURL(), mixconfig.panels.TermsAndConditionsPanel.m_tf_templateURL, mixconfig.panels.TermsAndConditionsPanel.MSG_TEMPLATE_MISMATCH, and mixconfig.panels.TermsAndConditionsPanel.TemplateReferenceID.setSource().
Referenced by mixconfig.panels.TermsAndConditionsPanel.focusLost().
void mixconfig.panels.TermsAndConditionsPanel.actionDeleteTranslation | ( | ) | [private] |
void mixconfig.panels.TermsAndConditionsPanel.actionDefaultTranslation | ( | ) | [private] |
void mixconfig.panels.TermsAndConditionsPanel.loadDate | ( | ) | [private] |
Referenced by mixconfig.panels.TermsAndConditionsPanel.load().
void mixconfig.panels.TermsAndConditionsPanel.loadTranslation | ( | TermsAndConditionsTranslation | translation | ) | [private] |
ServiceOperator mixconfig.panels.TermsAndConditionsPanel.getServiceOperator | ( | ) | [private] |
void mixconfig.panels.TermsAndConditionsPanel.initTermsAndConditionsSettings | ( | Document | configDoc | ) | throws IOException, NotLoadedException [private] |
References mixconfig.panels.TermsAndConditionsPanel.generalAddress, mixconfig.panels.MixConfigPanel.getConfiguration(), mixconfig.MixConfiguration.getDocument(), mixconfig.panels.TermsAndConditionsPanel.operatorTCs, mixconfig.panels.MixConfigPanel.setEnabled(), and mixconfig.panels.TermsAndConditionsPanel.XML_ELEMENT_TC_TRANSLATION_IMPORTS.
Referenced by mixconfig.panels.TermsAndConditionsPanel.load().
void mixconfig.panels.TermsAndConditionsPanel.initGeneralAddress | ( | ) | [private] |
void mixconfig.panels.TermsAndConditionsPanel.initTemplates | ( | Document | configDoc | ) | [private] |
References mixconfig.panels.MixConfigPanel.getConfiguration(), mixconfig.MixConfiguration.getDocument(), mixconfig.panels.TermsAndConditionsPanel.TemplateReferenceID.getReferenceID(), mixconfig.panels.TermsAndConditionsPanel.getTemplateFromURL(), mixconfig.panels.TermsAndConditionsPanel.isTemplateReferenceIdInComboBox(), mixconfig.panels.TermsAndConditionsPanel.m_bInitialisingTranslations, mixconfig.panels.TermsAndConditionsPanel.m_cbReferenceIDs, mixconfig.panels.TermsAndConditionsPanel.updateObject(), and mixconfig.panels.TermsAndConditionsPanel.XML_ELEMENT_TEMPLATE.
Referenced by mixconfig.panels.TermsAndConditionsPanel.load().
void mixconfig.panels.TermsAndConditionsPanel.initTranslations | ( | ) | [private] |
References mixconfig.panels.TermsAndConditionsPanel.clearTranslationFields(), mixconfig.panels.TermsAndConditionsPanel.getSelectedTranslation(), mixconfig.panels.TermsAndConditionsPanel.itemStateChanged(), mixconfig.panels.TermsAndConditionsPanel.loadTranslation(), mixconfig.panels.TermsAndConditionsPanel.m_cbTranslations, mixconfig.panels.TermsAndConditionsPanel.MSG_TITLE_OP_WITH_LANG, mixconfig.panels.TermsAndConditionsPanel.operatorTCs, mixconfig.panels.TermsAndConditionsPanel.panelOperatorRight, mixconfig.panels.TermsAndConditionsPanel.selectedLanguage, and mixconfig.panels.TermsAndConditionsPanel.updateObject().
Referenced by mixconfig.panels.TermsAndConditionsPanel.load().
synchronized void mixconfig.panels.TermsAndConditionsPanel.saveAndLog | ( | ) | [private] |
References mixconfig.panels.TermsAndConditionsPanel.save().
Referenced by mixconfig.panels.TermsAndConditionsPanel.actionPerformed(), mixconfig.panels.TermsAndConditionsPanel.dateChanged(), mixconfig.panels.TermsAndConditionsPanel.focusLost(), and mixconfig.panels.TermsAndConditionsPanel.itemStateChanged().
InfoServiceTableModel mixconfig.panels.TermsAndConditionsPanel.getInfoServices | ( | ) | [private] |
Read InfoServices from the configuration and return a TableModel containing the data
References mixconfig.panels.MixConfigPanel.getConfiguration(), mixconfig.MixConfiguration.getDocument(), and mixconfig.infoservice.InfoServiceTableModel.readFromElement().
Referenced by mixconfig.panels.TermsAndConditionsPanel.updateFromInfoService().
TermsAndConditionsTemplate mixconfig.panels.TermsAndConditionsPanel.getTemplateFromURL | ( | URL | templateURL | ) | throws IOException, XMLParseException [private] |
loads a TC template from the corresponding URL saves it in the IS Database puts it's ReferenceID in the corresponding combobox and returns the template if it could be loaded.
templateURL |
IOException | ||
XMLParseException |
Referenced by mixconfig.panels.TermsAndConditionsPanel.actionSetTemplatePath(), mixconfig.panels.TermsAndConditionsPanel.initTemplates(), and mixconfig.panels.TermsAndConditionsPanel.updateFromInfoService().
void mixconfig.panels.TermsAndConditionsPanel.updateFromInfoService | ( | ) |
Update the internal (static) model containing terms and condition templates. Therefore, establish a connection to a known InfoService and request reference IDs of all currently known terms and conditions frameworks.
References mixconfig.infoservice.InfoServiceTableModel.getData(), mixconfig.panels.TermsAndConditionsPanel.getInfoServices(), mixconfig.infoservice.InfoServiceData.getListenerInterface(), mixconfig.infoservice.InfoServiceTableModel.getRowCount(), mixconfig.panels.TermsAndConditionsPanel.getTemplateFromURL(), mixconfig.panels.TermsAndConditionsPanel.isTemplateReferenceIdInComboBox(), mixconfig.panels.TermsAndConditionsPanel.m_cbReferenceIDs, mixconfig.panels.TermsAndConditionsPanel.removeFirstPlaceHolder(), and mixconfig.panels.TermsAndConditionsPanel.updateObject().
Referenced by mixconfig.panels.TermsAndConditionsPanel.actionAddTranslation(), and mixconfig.panels.TermsAndConditionsPanel.actionPerformed().
void mixconfig.panels.TermsAndConditionsPanel.saveDate | ( | ) | [private] |
Save the date to the "Date" element as well as to the "serial" attribute
References mixconfig.panels.TermsAndConditionsPanel.m_dateFormatter, and mixconfig.panels.TermsAndConditionsPanel.operatorTCs.
Referenced by mixconfig.panels.TermsAndConditionsPanel.save().
Element mixconfig.panels.TermsAndConditionsPanel.getSpecifiedTemplatesElement | ( | Document | ownerDoc | ) | [private] |
References mixconfig.panels.TermsAndConditionsPanel.TemplateReferenceID.getReferenceID(), mixconfig.panels.TermsAndConditionsPanel.m_cbReferenceIDs, mixconfig.panels.TermsAndConditionsPanel.TemplateReferenceID.toXMLElement(), and mixconfig.panels.TermsAndConditionsPanel.XML_ELEMENT_TEMPLATES.
Referenced by mixconfig.panels.TermsAndConditionsPanel.save().
void mixconfig.panels.TermsAndConditionsPanel.saveTranslation | ( | TermsAndConditionsTranslation | translation | ) | [private] |
void mixconfig.panels.TermsAndConditionsPanel.saveGeneralAddress | ( | ) | [private] |
void mixconfig.panels.TermsAndConditionsPanel.clearTranslationFields | ( | ) | [private] |
boolean mixconfig.panels.TermsAndConditionsPanel.selectTemplateReferenceID | ( | String | templateReferenceID | ) | [private] |
boolean mixconfig.panels.TermsAndConditionsPanel.isATranslationLoaded | ( | ) | [private] |
boolean mixconfig.panels.TermsAndConditionsPanel.isTemplateReferenceIdInComboBox | ( | String | templateReferenceID | ) | [private] |
References mixconfig.panels.TermsAndConditionsPanel.TemplateReferenceID.getReferenceID(), and mixconfig.panels.TermsAndConditionsPanel.m_cbReferenceIDs.
Referenced by mixconfig.panels.TermsAndConditionsPanel.actionLoadTemplateFromFile(), mixconfig.panels.TermsAndConditionsPanel.initTemplates(), and mixconfig.panels.TermsAndConditionsPanel.updateFromInfoService().
boolean mixconfig.panels.TermsAndConditionsPanel.isAddTranslationPossible | ( | ) | [private] |
TermsAndConditionsTranslation mixconfig.panels.TermsAndConditionsPanel.getPreviewTranslation | ( | ) | [package] |
References mixconfig.panels.MixConfigPanel.getConfiguration(), mixconfig.MixConfiguration.getDocument(), mixconfig.panels.TermsAndConditionsPanel.getSelectedTranslation(), and mixconfig.panels.TermsAndConditionsPanel.XML_ELEMENT_TC_TRANSLATION_IMPORTS.
Referenced by mixconfig.panels.TermsAndConditionsContentDialog.actionPreview(), and mixconfig.panels.TermsAndConditionsPanel.actionPreviewTranslation().
boolean mixconfig.panels.TermsAndConditionsPanel.isDefaultLanguagePossible | ( | ) | [private] |
boolean mixconfig.panels.TermsAndConditionsPanel.isDeleteTranslationPossible | ( | ) | [private] |
boolean mixconfig.panels.TermsAndConditionsPanel.isWrongTemplateSet | ( | ) | [private] |
References mixconfig.panels.TermsAndConditionsPanel.TemplateReferenceID.getLangCode(), mixconfig.panels.TermsAndConditionsPanel.getSelectedTemplateReferenceID(), and mixconfig.panels.TermsAndConditionsPanel.getSelectedTranslation().
Referenced by mixconfig.panels.TermsAndConditionsPanel.enableComponents().
boolean mixconfig.panels.TermsAndConditionsPanel.isPreviewPossible | ( | ) | [package] |
boolean mixconfig.panels.TermsAndConditionsPanel.isContentManagementPossible | ( | ) | [private] |
boolean mixconfig.panels.TermsAndConditionsPanel.isTransformationPossible | ( | ) | [private] |
boolean mixconfig.panels.TermsAndConditionsPanel.isExportTemplatePossible | ( | ) | [private] |
boolean mixconfig.panels.TermsAndConditionsPanel.isDeleteTemplatePossible | ( | ) | [private] |
TermsAndConditionsTranslation mixconfig.panels.TermsAndConditionsPanel.getSelectedTranslation | ( | ) | [private] |
References mixconfig.panels.TermsAndConditionsPanel.m_cbTranslations.
Referenced by mixconfig.panels.TermsAndConditionsPanel.actionDefaultTranslation(), mixconfig.panels.TermsAndConditionsPanel.actionDeleteTranslation(), mixconfig.panels.TermsAndConditionsPanel.actionPerformed(), mixconfig.panels.TermsAndConditionsPanel.getPreviewTranslation(), mixconfig.panels.TermsAndConditionsPanel.initTranslations(), mixconfig.panels.TermsAndConditionsPanel.isDefaultLanguagePossible(), mixconfig.panels.TermsAndConditionsPanel.isDeleteTranslationPossible(), mixconfig.panels.TermsAndConditionsPanel.isTransformationPossible(), mixconfig.panels.TermsAndConditionsPanel.isWrongTemplateSet(), mixconfig.panels.TermsAndConditionsPanel.itemStateChanged(), mixconfig.panels.TermsAndConditionsPanel.save(), and mixconfig.panels.TermsAndConditionsPanel.showContentDialog().
TemplateReferenceID mixconfig.panels.TermsAndConditionsPanel.getSelectedTemplateReferenceID | ( | ) | [private] |
References mixconfig.panels.TermsAndConditionsPanel.m_cbReferenceIDs.
Referenced by mixconfig.panels.TermsAndConditionsPanel.actionAddTranslation(), mixconfig.panels.TermsAndConditionsPanel.actionDeleteTemplate(), mixconfig.panels.TermsAndConditionsPanel.actionExportTemplate(), mixconfig.panels.TermsAndConditionsPanel.actionSetTemplatePath(), mixconfig.panels.TermsAndConditionsPanel.enableComponents(), mixconfig.panels.TermsAndConditionsPanel.getSelectedTemplate(), mixconfig.panels.TermsAndConditionsPanel.isAddTranslationPossible(), mixconfig.panels.TermsAndConditionsPanel.isDeleteTemplatePossible(), mixconfig.panels.TermsAndConditionsPanel.isExportTemplatePossible(), mixconfig.panels.TermsAndConditionsPanel.isWrongTemplateSet(), and mixconfig.panels.TermsAndConditionsPanel.itemStateChanged().
Vector<TemplateReferenceID> mixconfig.panels.TermsAndConditionsPanel.getAllTemplateReferenceIds | ( | ) | [private] |
Vector<TemplateReferenceID> mixconfig.panels.TermsAndConditionsPanel.getMatchingTemplateReferenceIDs | ( | String | type, | |
String | langCode, | |||
Date | date | |||
) | [private] |
References mixconfig.panels.TermsAndConditionsPanel.TemplateReferenceID.getDate(), mixconfig.panels.TermsAndConditionsPanel.TemplateReferenceID.getLangCode(), mixconfig.panels.TermsAndConditionsPanel.TemplateReferenceID.getType(), and mixconfig.panels.TermsAndConditionsPanel.m_cbReferenceIDs.
Referenced by mixconfig.panels.TermsAndConditionsPanel.actionAddTranslation(), mixconfig.panels.TermsAndConditionsPanel.getAllTemplateReferenceIds(), and mixconfig.panels.TermsAndConditionsPanel.itemStateChanged().
static void mixconfig.panels.TermsAndConditionsPanel.updateObject | ( | JComboBox | comboBox, | |
Object | o, | |||
boolean | selectForced | |||
) | [static, private] |
References mixconfig.panels.TermsAndConditionsPanel.removeFirstPlaceHolder().
Referenced by mixconfig.panels.TermsAndConditionsPanel.actionAddTranslation(), mixconfig.panels.TermsAndConditionsPanel.actionLoadTemplateFromFile(), mixconfig.panels.TermsAndConditionsPanel.initTemplates(), mixconfig.panels.TermsAndConditionsPanel.initTranslations(), and mixconfig.panels.TermsAndConditionsPanel.updateFromInfoService().
static void mixconfig.panels.TermsAndConditionsPanel.removeFirstPlaceHolder | ( | JComboBox | comboBox | ) | [static, private] |
only removes the first placeHolder (serves the usual case to have only one placeholder if a combobox is empty)
comboBox |
Referenced by mixconfig.panels.TermsAndConditionsPanel.actionAddTranslation(), mixconfig.panels.TermsAndConditionsPanel.actionLoadTemplateFromFile(), mixconfig.panels.TermsAndConditionsPanel.updateFromInfoService(), and mixconfig.panels.TermsAndConditionsPanel.updateObject().
final String mixconfig.panels.TermsAndConditionsPanel.MSG_TC_CAPTION = TermsAndConditionsPanel.class.getName() + "_caption" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_TITLE_OP_GENERAL = TermsAndConditionsPanel.class.getName() + "_titleopGeneral" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_TITLE_OP_WITH_LANG = TermsAndConditionsPanel.class.getName() + "_titleopWithLang" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_TITLE_URLS = TermsAndConditionsPanel.class.getName() + "_titleurls" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_ADD_TRANSLATIONS_DIALOG = TermsAndConditionsPanel.class.getName() + "_addTranslationsDialog" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_TEMPLATE_MISMATCH = TermsAndConditionsPanel.class.getName() + "_templateMismatch" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_INFOSERVICE = TermsAndConditionsPanel.class.getName() + "_infoservice" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_PREVIEW = TermsAndConditionsPanel.class.getName() + "_preview" [static, package] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_URL = TermsAndConditionsPanel.class.getName() + "_url" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_PATH = TermsAndConditionsPanel.class.getName() + "_path" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_FILE = TermsAndConditionsPanel.class.getName() + "_file" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_RESET = TermsAndConditionsPanel.class.getName() + "_reset" [static, package] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_EXPORT = TermsAndConditionsPanel.class.getName() + "_export" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_DEFAULT_TRANSLATION = TermsAndConditionsPanel.class.getName() + "_defaultTranslation" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_AVAIL_LANG_LABEL = TermsAndConditionsPanel.class.getName() + "_availableLanguagesLabel" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_VALID_LABEL = TermsAndConditionsPanel.class.getName() + "_validLabel" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_TEMPLATE_LABEL = TermsAndConditionsPanel.class.getName() + "_templateLabel" [static, package] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_LANGUAGE_LABEL = TermsAndConditionsPanel.class.getName() + "_languageLabel" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_TRANSLATION_LABEL = TermsAndConditionsPanel.class.getName() + "_translationLabel" [static, package] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_STREET_LABEL = TermsAndConditionsPanel.class.getName() + "_streetLabel" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_ZIP_LABEL = TermsAndConditionsPanel.class.getName() + "_zipLabel" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_CITY_LABEL = TermsAndConditionsPanel.class.getName() + "_cityLabel" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_FAX_LABEL = TermsAndConditionsPanel.class.getName() + "_faxLabel" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_ADDITIONAL_INFO_LABEL = TermsAndConditionsPanel.class.getName() + "_additionalInfoLabel" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_VAT_LABEL = TermsAndConditionsPanel.class.getName() + "_vatLabel" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_VENUE_LABEL = TermsAndConditionsPanel.class.getName() + "_venueLabel" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_PRIVACY_POLICY_LABEL = TermsAndConditionsPanel.class.getName() + "_privacyPolicyURLLabel" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_LEGAL_OPINIONS_LABEL = TermsAndConditionsPanel.class.getName() + "_legalOpinionsURLLabel" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_OP_AGREEMENT_LABEL = TermsAndConditionsPanel.class.getName() + "_operationalAgreementURLLabel" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_PHOLDER_NONE_AVAIL = TermsAndConditionsPanel.class.getName() + "_pholderNoneAvail" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_PHOLDER_ADD_TRANSLATION = TermsAndConditionsPanel.class.getName() + "_pholderAddTranslation" [static, private] |
Referenced by mixconfig.panels.TermsAndConditionsPanel.enableComponents().
final String mixconfig.panels.TermsAndConditionsPanel.MSG_PHOLDER_UPDATE = TermsAndConditionsPanel.class.getName() + "_pholderUpdate" [static, private] |
Referenced by mixconfig.panels.TermsAndConditionsPanel.enableComponents().
final String mixconfig.panels.TermsAndConditionsPanel.MSG_FILE_EXISTS = TermsAndConditionsPanel.class.getName() + "_fileExists" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_SAVE_FILE_ERROR = TermsAndConditionsPanel.class.getName() + "_saveFileError" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_LOAD_FILE_ERROR = TermsAndConditionsPanel.class.getName() + "_loadFileError" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.ACTION_CMD_ADD_TRANSLATION = "addTranslation" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_SECTION = TermsAndConditionsPanel.class.getName() + "_section" [static, package] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_PARAGRAPH = TermsAndConditionsPanel.class.getName() + "_paragraph" [static, package] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_CONTENT = TermsAndConditionsPanel.class.getName() + "_content" [static, package] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_EDIT_CONTENT = TermsAndConditionsPanel.class.getName() + "_editContent" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_IMPORT_WHOLE = TermsAndConditionsPanel.class.getName() + "_importWhole" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_TEMPLATE_NOT_LOADED = TermsAndConditionsPanel.class.getName() + "_templateNotLoaded" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_TEMPLATE_NOT_LOADED_TITLE = TermsAndConditionsPanel.class.getName() + "_templateNotLoadedTitle" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_TEMPLATE_NOT_DEFINED = TermsAndConditionsPanel.class.getName() + "_templateNotDefined" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_TEMPLATE_NOT_DEFINED_TITLE = TermsAndConditionsPanel.class.getName() + "_templateNotDefinedTitle" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_WARNING_TEMPLATE_LANGUAGE = TermsAndConditionsPanel.class.getName() + "_warningTemplateLanguage" [static, private] |
final String mixconfig.panels.TermsAndConditionsPanel.MSG_RECOMMEND_MIX_PATH = TermsAndConditionsPanel.class.getName() + "_recommendMixPath" [static, private] |
Referenced by mixconfig.panels.TermsAndConditionsPanel.mouseClicked().
final String mixconfig.panels.TermsAndConditionsPanel.XML_ELEMENT_TEMPLATES = "Templates" [static] |
final String mixconfig.panels.TermsAndConditionsPanel.XML_ELEMENT_TEMPLATE = "Template" [static] |
final String mixconfig.panels.TermsAndConditionsPanel.XML_ELEMENT_TC_OPTIONS = "TermsAndConditionsOptions" [static] |
final String mixconfig.panels.TermsAndConditionsPanel.XML_ELEMENT_TC_TRANSLATION_IMPORTS = "TCTranslationImports" [static] |
final String mixconfig.panels.TermsAndConditionsPanel.XMLPATH_TERMS_OPTIONS = XML_ELEMENT_TC_OPTIONS [static] |
Terms and conditions paths
final String mixconfig.panels.TermsAndConditionsPanel.PRIVACY_POLICY_TAG = "PrivacyPolicyUrl" [static] |
final String mixconfig.panels.TermsAndConditionsPanel.LEGAL_OPINIONS_TAG = "LegalOpinionsUrl" [static] |
final String mixconfig.panels.TermsAndConditionsPanel.OPERATIONAL_AGREEMENT_TAG = "OperationalAgreementUrl" [static] |
final String mixconfig.panels.TermsAndConditionsPanel.TEMPLATE_EXPORT_ENCODING = "UTF-8" [static] |
DefaultComboBoxModel mixconfig.panels.TermsAndConditionsPanel.m_modelReferenceIDs = new DefaultComboBoxModel() [private] |
ComboBox and Model
Referenced by mixconfig.panels.TermsAndConditionsPanel.actionPerformed().
JComboBox mixconfig.panels.TermsAndConditionsPanel.m_cbReferenceIDs = new JComboBox(m_modelReferenceIDs) [private] |
Referenced by mixconfig.panels.TermsAndConditionsPanel.actionDeleteTemplate(), mixconfig.panels.TermsAndConditionsPanel.actionLoadTemplateFromFile(), mixconfig.panels.TermsAndConditionsPanel.actionPerformed(), mixconfig.panels.TermsAndConditionsPanel.enableComponents(), mixconfig.panels.TermsAndConditionsPanel.getMatchingTemplateReferenceIDs(), mixconfig.panels.TermsAndConditionsPanel.getSelectedTemplateReferenceID(), mixconfig.panels.TermsAndConditionsPanel.getSpecifiedTemplatesElement(), mixconfig.panels.TermsAndConditionsPanel.initTemplates(), mixconfig.panels.TermsAndConditionsPanel.isTemplateReferenceIdInComboBox(), mixconfig.panels.TermsAndConditionsPanel.itemStateChanged(), mixconfig.panels.TermsAndConditionsPanel.load(), mixconfig.panels.TermsAndConditionsPanel.save(), mixconfig.panels.TermsAndConditionsPanel.selectTemplateReferenceID(), mixconfig.panels.TermsAndConditionsPanel.TermsAndConditionsPanel(), and mixconfig.panels.TermsAndConditionsPanel.updateFromInfoService().
JComboBox mixconfig.panels.TermsAndConditionsPanel.m_cbTranslations = new JComboBox() [private] |
Referenced by mixconfig.panels.TermsAndConditionsPanel.actionAddTranslation(), mixconfig.panels.TermsAndConditionsPanel.actionDeleteTranslation(), mixconfig.panels.TermsAndConditionsPanel.enableComponents(), mixconfig.panels.TermsAndConditionsPanel.getSelectedTranslation(), mixconfig.panels.TermsAndConditionsPanel.initTranslations(), mixconfig.panels.TermsAndConditionsPanel.isATranslationLoaded(), mixconfig.panels.TermsAndConditionsPanel.itemStateChanged(), mixconfig.panels.TermsAndConditionsPanel.load(), mixconfig.panels.TermsAndConditionsPanel.save(), and mixconfig.panels.TermsAndConditionsPanel.TermsAndConditionsPanel().
boolean mixconfig.panels.TermsAndConditionsPanel.m_bIgnoreTemplateWarningMessages = false [private] |
Referenced by mixconfig.panels.TermsAndConditionsPanel.itemStateChanged().
JButton mixconfig.panels.TermsAndConditionsPanel.m_btnPreview [private] |
JButton mixconfig.panels.TermsAndConditionsPanel.m_btnAddTranslation [private] |
JButton mixconfig.panels.TermsAndConditionsPanel.m_btnDefaultTranslation [private] |
JButton mixconfig.panels.TermsAndConditionsPanel.m_btnDeleteTranslation [private] |
JLabel mixconfig.panels.TermsAndConditionsPanel.m_lblWarningWrongTemplate [private] |
Referenced by mixconfig.panels.TermsAndConditionsPanel.enableComponents(), mixconfig.panels.TermsAndConditionsPanel.itemStateChanged(), mixconfig.panels.TermsAndConditionsPanel.load(), mixconfig.panels.TermsAndConditionsPanel.mouseClicked(), and mixconfig.panels.TermsAndConditionsPanel.TermsAndConditionsPanel().
JLabel mixconfig.panels.TermsAndConditionsPanel.m_lblNoticeTemplatePath [private] |
JButton mixconfig.panels.TermsAndConditionsPanel.m_btnInfoServiceTemplate [private] |
JButton mixconfig.panels.TermsAndConditionsPanel.m_btnFileTemplate [private] |
JButton mixconfig.panels.TermsAndConditionsPanel.m_btnExportTemplate [private] |
JButton mixconfig.panels.TermsAndConditionsPanel.m_btnDeleteTemplate [private] |
JButton mixconfig.panels.TermsAndConditionsPanel.m_btnImportWhole [private] |
JButton mixconfig.panels.TermsAndConditionsPanel.m_btnContent [private] |
DatePanel mixconfig.panels.TermsAndConditionsPanel.m_pnlDate [private] |
Date panel + button
Referenced by mixconfig.panels.TermsAndConditionsPanel.TermsAndConditionsPanel().
JTextField mixconfig.panels.TermsAndConditionsPanel.m_tf_templateURL [private] |
Referenced by mixconfig.panels.TermsAndConditionsPanel.actionSetTemplatePath(), mixconfig.panels.TermsAndConditionsPanel.enableComponents(), mixconfig.panels.TermsAndConditionsPanel.focusLost(), mixconfig.panels.TermsAndConditionsPanel.itemStateChanged(), and mixconfig.panels.TermsAndConditionsPanel.TermsAndConditionsPanel().
TitledGridBagPanel mixconfig.panels.TermsAndConditionsPanel.panelOperatorLeft [package] |
JTextField mixconfig.panels.TermsAndConditionsPanel.m_tf_general_additionalInfo [private] |
TextFields
Referenced by mixconfig.panels.TermsAndConditionsPanel.TermsAndConditionsPanel().
JTextField mixconfig.panels.TermsAndConditionsPanel.m_tf_general_Street [private] |
JTextField mixconfig.panels.TermsAndConditionsPanel.m_tf_general_Post [private] |
JTextField mixconfig.panels.TermsAndConditionsPanel.m_tf_general_City [private] |
JTextField mixconfig.panels.TermsAndConditionsPanel.m_tf_general_VAT [private] |
JTextField mixconfig.panels.TermsAndConditionsPanel.m_tf_general_Fax [private] |
JTextField mixconfig.panels.TermsAndConditionsPanel.m_tf_general_Venue [private] |
TitledGridBagPanel mixconfig.panels.TermsAndConditionsPanel.panelOperatorRight [package] |
JTextField mixconfig.panels.TermsAndConditionsPanel.m_tf_lang_additionalInfo [private] |
TextFields
Referenced by mixconfig.panels.TermsAndConditionsPanel.TermsAndConditionsPanel().
JTextField mixconfig.panels.TermsAndConditionsPanel.m_tf_lang_Street [private] |
JTextField mixconfig.panels.TermsAndConditionsPanel.m_tf_lang_Post [private] |
JTextField mixconfig.panels.TermsAndConditionsPanel.m_tf_lang_City [private] |
JTextField mixconfig.panels.TermsAndConditionsPanel.m_tf_lang_Fax [private] |
JTextField mixconfig.panels.TermsAndConditionsPanel.m_tf_lang_Venue [private] |
JTextField mixconfig.panels.TermsAndConditionsPanel.m_tfUrlPP [private] |
JTextField mixconfig.panels.TermsAndConditionsPanel.m_tfUrlLO [private] |
JTextField mixconfig.panels.TermsAndConditionsPanel.m_tfUrlOA [private] |
JTextField mixconfig.panels.TermsAndConditionsPanel.m_tf_templateReferenceId [private] |
PropertyToComponentMapping<JTextField> [] mixconfig.panels.TermsAndConditionsPanel.generalAddressMappings [private] |
PropertyToComponentMapping<JTextField> [] mixconfig.panels.TermsAndConditionsPanel.translationAddressMappings [private] |
PropertyToComponentMapping<JTextField> [] mixconfig.panels.TermsAndConditionsPanel.translationUrlMappings [private] |
TermsAndConditions mixconfig.panels.TermsAndConditionsPanel.operatorTCs = null [private] |
Referenced by mixconfig.panels.TermsAndConditionsPanel.actionAddTranslation(), mixconfig.panels.TermsAndConditionsPanel.check(), mixconfig.panels.TermsAndConditionsPanel.initTermsAndConditionsSettings(), mixconfig.panels.TermsAndConditionsPanel.initTranslations(), mixconfig.panels.TermsAndConditionsPanel.save(), mixconfig.panels.TermsAndConditionsPanel.saveDate(), and mixconfig.panels.TermsAndConditionsPanel.showAddTranslationsDialog().
OperatorAddress mixconfig.panels.TermsAndConditionsPanel.generalAddress = null [private] |
String mixconfig.panels.TermsAndConditionsPanel.selectedLanguage = "" [private] |
File mixconfig.panels.TermsAndConditionsPanel.lastOpened = null [private] |
Vector<LanguageMapper> mixconfig.panels.TermsAndConditionsPanel.LANGUAGE_CHOICE [static, private] |
Initial value:
LanguageMapper.getLocalisedLanguages()
Referenced by mixconfig.panels.TermsAndConditionsPanel.showAddTranslationsDialog().
DateFormat mixconfig.panels.TermsAndConditionsPanel.m_dateFormatter = new SimpleDateFormat(TermsAndConditions.DATE_FORMAT) [package] |
The DateFormat that we use here
Referenced by mixconfig.panels.TermsAndConditionsPanel.TemplateReferenceID.getReferenceID(), and mixconfig.panels.TermsAndConditionsPanel.saveDate().
boolean mixconfig.panels.TermsAndConditionsPanel.savingEnabled = true [private] |
TermsAndConditionsPanel mixconfig.panels.TermsAndConditionsPanel.panelSingleton = null [static, private] |
Referenced by mixconfig.panels.TermsAndConditionsPanel.get().
boolean mixconfig.panels.TermsAndConditionsPanel.m_bInitialisingTranslations = false [private] |