All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jwebmp.plugins.jqxwidgets.editor.JQXEditorOptions Maven / Gradle / Ivy

There is a newer version: 1.0.16.0-jre14
Show newest version
/*
 * Copyright (C) 2017 GedMarc
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see .
 */
package com.jwebmp.plugins.jqxwidgets.editor;

import com.jwebmp.core.htmlbuilder.javascript.JavascriptFunction;
import com.jwebmp.plugins.jqxwidgets.JQXDefaultJavaScriptPart;

/**
 * All the options for the JQXEditor library
 * 

* * @author GedMarc * @version 1.0 *

*

* @since Mar 4, 2015 */ public class JQXEditorOptions extends JQXDefaultJavaScriptPart { private JavascriptFunction createCommand;// Function null private Boolean disabled;// Boolean false private Boolean editable;// Boolean true private String lineBreak;// String "default" private JQXEditorLocalizationOptions localization; private String pasteMode;// String "html" private Boolean rtl;// Boolean false //stylesheets Array [] private String toolbarPosition;// String "top" private String tools;// String "bold italic underline | format font size | color background | left center right | outdent indent | ul ol | image | link | clean | html" public JQXEditorOptions() { //Nothing Needed } public JavascriptFunction getCreateCommand() { return createCommand; } public void setCreateCommand(JavascriptFunction createCommand) { this.createCommand = createCommand; } public Boolean getDisabled() { return disabled; } public void setDisabled(Boolean disabled) { this.disabled = disabled; } public Boolean getEditable() { return editable; } public void setEditable(Boolean editable) { this.editable = editable; } public String getLineBreak() { return lineBreak; } public void setLineBreak(String lineBreak) { this.lineBreak = lineBreak; } public String getPasteMode() { return pasteMode; } public void setPasteMode(String pasteMode) { this.pasteMode = pasteMode; } public Boolean getRtl() { return rtl; } public void setRtl(Boolean rtl) { this.rtl = rtl; } public String getToolbarPosition() { return toolbarPosition; } public void setToolbarPosition(String toolbarPosition) { this.toolbarPosition = toolbarPosition; } public String getTools() { return tools; } public void setTools(String tools) { this.tools = tools; } public JQXEditorLocalizationOptions getLocalization() { if (localization == null) { localization = new JQXEditorLocalizationOptions(); } return localization; } public void setLocalization(JQXEditorLocalizationOptions localization) { this.localization = localization; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy