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

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

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

/**
 * @{inheritedDoc}
 */
@Override
public VLViewComponentXML getToolbarConfiguration() {
 Optional<VLViewComponentXML> bottomActions = configuration.getComponentById(BOTTOM_ACTIONS);
 VLViewComponentXML config = bottomActions.orElse(null);
 return config;
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

/**
 * @{inheritedDoc}
 */
@Override
public VLViewComponentXML getToolbarConfiguration() {
 return configuration.getComponentById("Actions").orElse(null);
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

/**
 * @{inheritedDoc}
 */
@Override
public VLViewComponentXML getToolbarConfiguration() {
 return configuration.getComponentById("Actions").orElse(null);
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

/**
 * @{inheritedDoc}
 */
@Override
public VLViewComponentXML getToolbarConfiguration() {
 return configuration.getComponentById("Actions").orElse(null);
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-demoapp-components

/**
 * @{inheritedDoc}
 */
@Override
public VLViewComponentXML getToolbarConfiguration() {
 return configuration.getComponentById("Actions").orElse(null);
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

/**
 * @param controller
 * @param modifiableToolbarHolder
 */
public void buildFrom(AbstractViewController controller, IToolbarHolder toolbarHolder) {
 this.controller = controller;
 this.toolbarHolder = toolbarHolder;
 this.configuration = toolbarHolder.getToolbarConfiguration();
 // load subconfigrations
 this.ellypsisMenuConfiguration = configuration.getComponentById(ELLYPSISMENUACTIONS).orElse(null);
 this.modifyMenuConfiguration = configuration.getComponentById(MODIFYMENUACTIONS).orElse(null);
 this.rootMenuconfiguration = configuration.getComponentById(ROOTMENUACTIONS).orElse(null);
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-demoapp-components

 protected void buildNoContentPane() {
  if (noContentPaneConfiguration == null) {
   noContentPaneConfiguration = getRootComponent().getComponentById("NoContentPane").orElse(null);
  }
 }
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

/**
 * @{inheritedDoc}
 */
@Override
public void buildFrom(IEmaginController controller, VLViewComponentXML configuration) {
 contentCfg = configuration.getComponentById("Content").orElse(null);
 NodeHelper.styleClassSetAll(this, contentCfg);
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-viewdefinition

/**
 * Read property mandatory from config of attribute
 *
 * @param attrConfig
 * @return
 */
public boolean isAttributeMandatory() {
 final VLViewComponentXML displayConfig = getComponentById("ValidationConfig").orElse(null);
 if (displayConfig != null) {
  return displayConfig.getBooleanProperty(XMLConstants.MANDATORY, false);
 }
 return false;
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

/**
 * @{inheritedDoc}
 */
@Override
public void buildFrom(IEmaginController controller, VLViewComponentXML configuration) {
 footerCfg = configuration.getComponentById("Footer").orElse(null);
 NodeHelper.styleClassSetAll(this, footerCfg);
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

protected void buildHeaderEllipsysActions() {
 final VLViewComponentXML headerActions = blocConfig.getComponentById("HeaderEllipsysActions").orElse(null);
 if (headerActions != null) {
  final Node button = ToolbarUtils.ellipsisVActionsButton(headerActions, controller, null);
  internalLayout.getChildren().add(button);
 }
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

public static void setOnAction(VLViewComponentXML component, ButtonBase buttonbase, AbstractViewController controller, OperationData item, Function<Object, Object> callback) {
 buttonbase.setOnAction(ev -> {
  final Optional<VLViewComponentXML> actionComponent = component.getComponentById(HANDLER_ID);
  actionComponent.ifPresent(e -> setButtonActions(controller, e, buttonbase, ev, item, callback));
 });
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

public static void setOnAction(VLViewComponentXML component, ButtonBase buttonbase, AbstractViewController controller, OperationData item) {
 buttonbase.setOnAction(ev->{
  final Optional<VLViewComponentXML> actionComponent = component.getComponentById(HANDLER_ID);
  actionComponent.ifPresent(e -> setButtonActions(controller, e, buttonbase, ev, item));
 });
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

/**
 * @{inheritedDoc}
 */
@Override
public Node present(IEmaginController controller, VLViewComponentXML configuration, Object item) {
 action.addEventFilter(ActionEvent.ACTION, ev -> {
  final Optional<VLViewComponentXML> actionComponent = configuration.getComponentById("Handler");
  actionComponent.ifPresent(e -> setButtonActions((AbstractViewController) controller, e, item));
 });
 return action;
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

 @Override
 public Node process(IEmaginController controller, VLViewComponentXML contentCfg) {
  VLViewComponentXML noContentPaneConfig = contentCfg.getComponentById("NoContentPane").orElse(null);
  if (noContentPaneConfig != null) {
   INoContentPane nccp = NoContentPaneHelper.buildFrom((AbstractViewController) controller, noContentPaneConfig);
   return nccp.getDisplay();
  }

  return new StackPane();
 }
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

public void buildHeader() {
 headerConfiguration = rootConfiguration.getComponentById("Header").orElse(null);
 String headerImpl = "ListViewPaneHeader";
 if (headerConfiguration != null) {
  headerImpl = headerConfiguration.getPropertyValue("headerImpl", "ListViewPaneHeader");
  header = (IBuildable) Services.getBean(headerImpl);
  header.buildFrom(controller, headerConfiguration);
 }
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

public void buildTabs(VLViewComponentXML rootComponent) {
 VLViewComponentXML detailsViewTabs = rootComponent.getComponentById("DetailsViewTabs").orElse(null);
 if (detailsViewTabs != null && detailsViewTabs.hasSubComponent()) {
  for (VLViewComponentXML tabGroupConfig : detailsViewTabs.getSubcomponents()) {
   buildTabGroup(tabGroupConfig);
  }
 }
 // select first tab
 selectTab(0);
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

protected void buildHeader() {
 VLViewComponentXML rootComp = controller.getRootComponent();
 VLViewComponentXML header = rootComp.getComponentById("Header").orElse(null);
 if (header != null && header.hasSubComponent()) {
  List<IBuildable> buildables = ComponentUtils.resolveAndGenerate(controller, header.getSubcomponents());
  for(IBuildable e: buildables) {
   maximizedMenu.getChildren().add(0, e.getDisplay());
  }
 }
}
origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

protected void buildFooter() {
 VLViewComponentXML rootComp = controller.getRootComponent();
 VLViewComponentXML footer = rootComp.getComponentById("Footer").orElse(null);
 maximizedMenu.getChildren().addAll(NodeHelper.verticalSpacer());
 if (footer != null && footer.hasSubComponent()) {
  List<IBuildable> buildables = ComponentUtils.resolveAndGenerate(controller, footer.getSubcomponents());
  for(IBuildable e: buildables) {
   maximizedMenu.getChildren().add(e.getDisplay());
  }
 }
}
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");
}
com.nexitia.emaginplatform.jfx.core.client.viewdef.xml.modelVLViewComponentXMLgetComponentById

Javadoc

Get first subcomponent given identifier.

Popular methods of VLViewComponentXML

  • getBooleanProperty
    No property, empty and true means true
  • getSubcomponents
  • hasSubComponent
  • getPropertyValue
    Get property as a string
  • 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

  • Start an intent from android
  • scheduleAtFixedRate (Timer)
  • compareTo (BigDecimal)
  • getResourceAsStream (ClassLoader)
  • Path (java.nio.file)
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • JCheckBox (javax.swing)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Github Copilot alternatives
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