Codota Logo
VLViewComponentXML.getProperties
Code IndexAdd Codota to your IDE (free)

How to use
getProperties
method
in
com.nexitia.emaginplatform.jfx.core.client.viewdef.xml.model.VLViewComponentXML

Best Java code snippets using com.nexitia.emaginplatform.jfx.core.client.viewdef.xml.model.VLViewComponentXML.getProperties (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-viewdefinition

public void addProperty(String name, String value) {
 getProperties().put(name, value);
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

row.getProperties().put("defaultValue", defaultValue);
row.getProperties().put("sourceValueListKeys", sourceValueListKeys);
row.getProperties().put("enumeratedDataLoader", enumeratedDataLoader);
row.getProperties().put("label", label);
row.getProperties().put("prompt", prompt);
row.getProperties().put("viewUtility", viewUtility);
row.getProperties().put("editUtility", editUtility);
row.getProperties().put("attributeName", attributeName);
row.getProperties().put("attributePath", attributePath);
row.getProperties().put("enumeratedDataLoader", enumeratedDataLoader);
row.getProperties().put("enumeratedKey", enumeratedKey);
row.getProperties().put("displayOrder", displayOrder);
validationConfig.getProperties().put("mandatory", mandatory);
validationConfig.getProperties().put("minLength", minLength);
validationConfig.getProperties().put("maxLength", maxLength);
validationConfig.getProperties().put("minValue", minValue);
validationConfig.getProperties().put("maxValue", maxValue);
validationConfig.getProperties().put("blankAllowed", blankAllowed);
row.addSubconfg(validationConfig);
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

/**
 * Loads the presenter.
 *
 * @param data
 */
protected void loadPresenter(OperationData data) {
 String presenterId = (String) data.getAttributes().get("presenter");
 // process extra params
 for(String k: getConfiguration().getProperties().keySet()) {
  if (k.startsWith("extra_param_")) {
   parameters.put(StringUtils.substringAfter(k, "extra_param_"), getConfiguration().getProperties().get(k));
  }
 }
 if (StringUtils.isNotBlank(presenterId)) {
  presenter = (CellPresenterFactory) Services.getBean(presenterId);
  setPresenter(presenter);
  presenter.setParameters(parameters);
  presenter.setCell(this);
  presenter.setConfiguration(getConfiguration());
  presenter.setController(controller);
 }
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

data.getAttributes().put("name", NodeHelper.getTitle(componentXML, (AbstractViewController) controller));
for(String k: componentXML.getProperties().keySet()) {
 data.getAttributes().put(k, componentXML.getProperties().get(k));
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

protected static void copySourcesAttributes(VLViewComponentXML referenced, VLViewComponentXML resolved) {
 if(referenced.getVisibleIf() != null)
  resolved.setVisibleIf(referenced.getVisibleIf());
 if(referenced.getCriteria() != null && resolved.getCriteria() == null)
  resolved.setCriteria(referenced.getCriteria());
 if(referenced.getSeparatorAfter() != null)
  resolved.setSeparatorAfter(referenced.getSeparatorAfter());
 if(referenced.getResponsiveOrder() != null)
  resolved.setResponsiveOrder(referenced.getResponsiveOrder());
 if(referenced.getMasterColumn() != null)
  resolved.setMasterColumn(referenced.getMasterColumn());
 if (StringUtils.isNotBlank(referenced.getDefaultButton())) {
  if(!resolved.getProperties().containsKey("default"))
   resolved.getProperties().put("default", referenced.getDefaultButton());
 }
 if (referenced.getComponentById(VALIDATOR) != null) {
  if (resolved.getComponentById(VALIDATOR) != null) {
   final Optional<VLViewComponentXML> comp = resolved.getComponentById(VALIDATOR);
   comp.ifPresent(c -> resolved.getSubcomponents().remove(c));
  }
  final Optional<VLViewComponentXML> d = referenced.getComponentById(VALIDATOR);
  d.ifPresent(f -> resolved.getSubcomponents().add(f));
 }
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

public static StructureContentController forId(RootStructureContentController rootStructureContentController, RootStructureController rootStructure, PushStructureContentEvent fromPush,
  VLViewComponentXML config) {
 Assert.notNull(rootStructure);
 Assert.notNull(config);
 String structureContentImpl = config.getPropertyValue("viewLayout");
 boolean isWizard = config.getBooleanProperty("isWizardView", false);
 StructureContentController controller = (StructureContentController) Services.getBean(structureContentImpl);
 if (fromPush != null) {
  controller.setSourceEvent(fromPush);
  controller.setFormModelData((OperationData) fromPush.getModel());
  controller.setForModelId(fromPush.getModelFullId());
 }
 controller.setRootStructureContent(rootStructureContentController);
 controller.setRootStructure(rootStructure);
 // controller.setWizardView(isWizard);
 // must build config manually because it does not exist
 final VLViewConfigXML configXML = new VLViewConfigXML();
 configXML.addEmptyRootContent();
 VLViewComponentXML rootComp = configXML.getComponents().get(0);
 rootComp.setProperties(config.getProperties());
 controller.initViewContext(configXML, rootStructure.getRootContext());
 controller.setInitialized(true);
 controller.build();
 return controller;
}
com.nexitia.emaginplatform.jfx.core.client.viewdef.xml.modelVLViewComponentXMLgetProperties

Javadoc

Getter of properties

Popular methods of VLViewComponentXML

  • getBooleanProperty
    No property, empty and true means true
  • getSubcomponents
  • hasSubComponent
  • getComponentById
    Get first subcomponent given identifier.
  • getPropertyValue
    Get property as a string
  • propertyValueOf
    Get property as a string
  • <init>
  • getId
  • setId
  • addSubconfg
  • booleanPropertyValueOf
    Get property as a boolean. In this case empty value is considered a true.
  • getAccessRules
    Getter of accessRules
  • booleanPropertyValueOf,
  • getAccessRules,
  • getComponentsById,
  • getController,
  • getCriteria,
  • getDefaultButton,
  • getIntPropertyValue,
  • getMasterColumn,
  • getModel

Popular in Java

  • Updating database using SQL prepared statement
  • runOnUiThread (Activity)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • requestLocationUpdates (LocationManager)
  • Timer (java.util)
    A facility for threads to schedule tasks for future execution in a background thread. Tasks may be s
  • JButton (javax.swing)
  • JFrame (javax.swing)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Runner (org.openjdk.jmh.runner)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now