Tabnine Logo
VLViewComponentXML.getPropertyValue
Code IndexAdd Tabnine to your IDE (free)

How to use
getPropertyValue
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.getPropertyValue (Showing top 20 results out of 315)

origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

/**
 * Setter of configuration
 *
 * @param configuration the configuration to set
 */
@Override
public void setConfiguration(VLViewComponentXML configuration) {
 this.configuration = configuration;
 if (configuration != null) {
  mainLabelStyles = configuration.getPropertyValue("mainLabelStyleClass");
  descriptionLabelStyles = configuration.getPropertyValue("descriptionLabelStyleClass");
 }
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

/**
 * @{inheritedDoc}
 */
@Override
public String getKey() {
 if (key == null) {
  key = configuration.getPropertyValue("key");
 }
 return key;
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

protected String initialView() {
 final VLViewComponentXML rootComp = getRootComponent();
 if (rootComp != null) {
  final String initialView = rootComp.getPropertyValue("initialView");
  return initialView;
 }
 return null;
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

public static String getTitle(VLViewComponentXML configuration, AbstractViewController controller) {
 final String titleLabel = configuration.getPropertyValue(XMLConstants.TITLE);
 final String translated = controller.getLocalised(titleLabel, configuration);
 return translated;
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

/**
 * @{inheritedDoc}
 */
@Override
public void buildFrom(IEmaginController controller, VLViewComponentXML configuration) {
 this.toViewIdentifier = configuration.getPropertyValue("pushToView");
 super.buildFrom(controller, configuration);
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

@Override
public void initFromConfiguration(IEmaginController controller, VLViewComponentXML componentConfiguration) {
 String paginateOperation = componentConfiguration.getPropertyValue("paginateOperation");
 if (StringUtils.isNotBlank(paginateOperation)) {
  this.paginateOperation = (IOperation) Services.getBean(paginateOperation);
 }
 queryPredicate = componentConfiguration.getPropertyValue("queryPredicate");
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

/**
 * @{inheritedDoc}
 */
@Override
public void initFromConfiguration(IEmaginController controller, VLViewComponentXML listConfiguration) {
 dataKey = listConfiguration.getPropertyValue("dataKey");
 rootData = ComponentUtils.resolveModel((AbstractViewController) controller, dataKey);
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

@Override
public void initFromConfiguration(IEmaginController controller, VLViewComponentXML componentConfiguration) {
 String paginateOperation = componentConfiguration.getPropertyValue("paginateOperation");
 if (StringUtils.isNotBlank(paginateOperation)) {
  this.paginateOperation = (IOperation) Services.getBean(paginateOperation);
 }
 queryPredicate = componentConfiguration.getPropertyValue("queryPredicate");
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

public static String getLabel(VLViewComponentXML configuration, AbstractViewController controller) {
 final String titleLabel = configuration.getPropertyValue(XMLConstants.LABEL);
 final String translated = controller.getLocalised(titleLabel, configuration);
 return translated;
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

private void initEnumeratedTypeTranslater(VLViewComponentXML config) {
 final String enumeratedTypeTranslater = config.getPropertyValue("enumeratedTypeTranslater");
 if (StringUtils.isNotBlank(enumeratedTypeTranslater)) {
  this.enumeratedTypeTranslater = (ModelEnumeratedValueTranslater) Services.getBean(enumeratedTypeTranslater);
 }
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

/**
 * @{inheritedDoc}
 */
@Override
public Object processElement(IEmaginController controller, VLViewComponentXML contentCfg) {
 String contentImpl = contentCfg.getPropertyValue("contentImpl");
 processedElement = (AbstractTableStructure) Services.getBean(contentImpl);
 processedElement.buildFrom(controller, contentCfg);
 return processedElement;
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

/**
 * @{inheritedDoc}
 */
@Override
public void buildFrom(IEmaginController controller, VLViewComponentXML configuration) {
 super.buildFrom(controller, configuration);
 // extract css from configuration
 final String styleClass = rootConfiguration.getPropertyValue("styleClass");
 if (com.nexitia.emaginplatform.core.commons.utils.StringUtils.isNotBlank(styleClass)) {
  // content.getStyleClass().addAll(styleClass.split(","));
 }
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

private void initEnumeratedTypeTranslater(VLViewComponentXML config) {
 String enumeratedTypeTranslater = config.getPropertyValue("enumeratedTypeTranslater");
 if (StringUtils.isNotBlank(enumeratedTypeTranslater)) {
  this.enumeratedTypeTranslater = (ModelEnumeratedValueTranslater) Services.getBean(enumeratedTypeTranslater);
 }
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

/**
 * @return the iconView
 */
public ImageView getIcon() {
 final String icon = config.getPropertyValue(XMLConstants.ICON);
 ImageView iconView = null;
 if (StringUtils.isNotBlank(icon)) {
  iconView = new ImageView(icon);
 }
 return iconView;
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

/**
 * @{inheritedDoc}
 */
@Override
public void buildFrom(IEmaginController controller, VLViewComponentXML configuration) {
 headerCfg = configuration.getComponentById(HEADER).orElse(null);
 if ((headerCfg != null) && StringUtils.isNotBlank(headerCfg.getPropertyValue(XMLConstants.TITLE))) {
  String title = headerCfg.getPropertyValue(XMLConstants.TITLE);
  this.title.setText(controller.getLocalised(title));
 }
 NodeHelper.styleClassSetAll(this, headerCfg);
 NodeHelper.styleClassAddAll(title, headerCfg, "titleStyleClass");
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

@Override
protected void updateItem(Object model, boolean empty) {
 super.updateItem(model, empty);
 if(!empty && model != null) {
  rowCriteriaContext = new CriteriaContext();
  String rowCriteriaSetter = tableConfiguration.getPropertyValue("rowCriteriaContextSetter");
  if(StringUtils.isNotBlank(rowCriteriaSetter)) {
   final IContextParamSetter contextParamSetter = (IContextParamSetter) Services.getBean(rowCriteriaSetter);
   contextParamSetter.process(controller, model, rowCriteriaContext);
  }
 }
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

protected void buildTabsGroup(VLViewComponentXML groupConfiguration, TabSide side) {
 for (final VLViewComponentXML tabConfig : groupConfiguration.getSubcomponents()) {
  String styleClass = groupConfiguration.getPropertyValue("styleClass");
  if (StringUtils.isEmpty(styleClass)) {
   final VLTab tab = new VLTab(controller, tabConfig);
   addTab(tab, side);
  } else {
   final VLTab tab = new VLTab(controller, tabConfig, styleClass);
   addTab(tab, side);
  }
 }
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

public void doBuildLeftPane() {
 final String leftSectionView = getRootComponent().getPropertyValue("leftSectionView");
 if (StringUtils.isNotBlank(leftSectionView)) {
  leftController = StandardViewUtils.forId(getRootStructure(), structureContentController, leftSectionView);
  leftController.setParent(this);
  NodeHelper.styleClassSetAll(leftPane, getRootComponent(), "leftSectionAreaStyleClass", "ep-two-hpanes-with-left-menu-wrapper");
  leftPane.getChildren().add(leftController.processedView());
 }
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-demoapp-components

 @Override
 public void buildFrom(IEmaginController controller, VLViewComponentXML configuration) {
  // @formatter:off
  ObservableList<PieChart.Data> pieChartData = FXCollections.observableArrayList(new PieChart.Data("Critical", 13), new PieChart.Data("High", 25), new PieChart.Data("Blocking", 10),
    new PieChart.Data("Medium", 22), new PieChart.Data("Low", 30));
  // @formatter:on

  chart = new PieChart(pieChartData);
  chart.setTitle(configuration.getPropertyValue("title"));
 }
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

/**
 * {@inheritDoc}
 */
@Override
public void layout(IViewLayoutManageable layoutManageable) {
 super.layout(layoutManageable);
 NodeHelper.styleClassAddAll(layoutHeader, layoutManageable.getConfiguration(), "forwardLayoutHeaderStyleClass");
 String forwardLayoutTitle = layoutManageable.getConfiguration().getPropertyValue("forwardLayoutHeaderTitle");
 if (StringUtils.isNotBlank(forwardLayoutTitle)) {
  layoutHeaderTitle.setText(layoutManageable.getController().getLocalised(forwardLayoutTitle));
 }
}
com.nexitia.emaginplatform.jfx.core.client.viewdef.xml.modelVLViewComponentXMLgetPropertyValue

Javadoc

Get property as a string

Popular methods of VLViewComponentXML

  • getBooleanProperty
    No property, empty and true means true
  • getSubcomponents
  • hasSubComponent
  • getComponentById
    Get first subcomponent given identifier.
  • propertyValueOf
    Get property as a string
  • <init>
  • getId
  • getProperties
    Getter of properties
  • 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

  • Reactive rest calls using spring rest template
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • compareTo (BigDecimal)
  • getExternalFilesDir (Context)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now