Examples of IComponent


Examples of fr.soleil.comete.definition.widget.IComponent

    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
        if (target instanceof IComponent) {
            IComponent comp = (IComponent) target;
            comp.setEnabled(enabled);
        }
    }
View Full Code Here

Examples of fr.soleil.comete.widget.IComponent

    m_cmdhelper.setCompleteEntityName(retrieveCommandName);
  }


  public void setValueList(String[] valueList) {
    IComponent component = getComponent();
    if (component != null && component instanceof IComboBox) {
      ((IComboBox) component).setValueList(valueList);
    }
  }
View Full Code Here

Examples of it.cilea.osd.jdyna.components.IComponent

            if (getComponents() != null && !getComponents().isEmpty())
            {
                for (String key : getComponents().keySet())
                {
                    IComponent component = getComponents().get(key);
                    Map<String, IBeanSubComponent> comp = component.getTypes();

                    if (comp.containsKey(type))
                    {
                        return key;
                    }
View Full Code Here

Examples of it.cilea.osd.jdyna.components.IComponent

            for (String key : rpComponent.keySet())
            {

                if (box.getShortName().equals(key))
                {
                    IComponent component = rpComponent.get(key);
                    component.setShortName(box.getShortName());
                    Map<String, IBeanSubComponent> comp = component.getTypes();

                    for (String compp : comp.keySet())
                    {
                        if (component.count(comp.get(compp)
                                .getComponentIdentifier(), anagrafica.getId()) > 0)
                        {
                            return false;
                        }
                    }
View Full Code Here

Examples of it.cilea.osd.jdyna.components.IComponent

            for (String key : rpComponent.keySet())
            {

                if (box.getShortName().equals(key))
                {
                    IComponent component = rpComponent.get(key);
                    component.setShortName(box.getShortName());
                    Map<String, IBeanSubComponent> comp = component.getTypes();

                    for (String compp : comp.keySet())
                    {
                        if (component.count(comp.get(compp)
                                .getComponentIdentifier(), anagrafica.getId()) > 0)
                        {
                            return false;
                        }
                    }
View Full Code Here

Examples of it.cilea.osd.jdyna.components.IComponent

            for (String key : rpComponent.keySet())
            {

                if (box.getShortName().equals(key))
                {
                    IComponent component = rpComponent.get(key);
                    component.setShortName(box.getShortName());
                    Map<String, IBeanSubComponent> comp = component.getTypes();

                    for (String compp : comp.keySet())
                    {
                        if (component.count(comp.get(compp)
                                .getComponentIdentifier(), anagrafica.getId()) > 0)
                        {
                            return false;
                        }
                    }
View Full Code Here

Examples of it.cilea.osd.jdyna.components.IComponent

            for (String key : rpComponent.keySet())
            {

                if (box.getShortName().equals(key))
                {
                    IComponent component = rpComponent.get(key);
                    component.setShortName(box.getShortName());
                    Map<String, IBeanSubComponent> comp = component.getTypes();

                    for (String compp : comp.keySet())
                    {
                        if (component.count(comp.get(compp)
                                .getComponentIdentifier(), anagrafica.getId()) > 0)
                        {
                            return false;
                        }
                    }
View Full Code Here

Examples of org.apache.tapestry.IComponent

    {
        if (_sortedComponents != null)
            return _sortedComponents;

        Inspector inspector = (Inspector) getPage();
        IComponent inspectedComponent = inspector.getInspectedComponent();

        // Get a Map of the components and simply return null if there
        // are none.

        Map components = inspectedComponent.getComponents();

        _sortedComponents = new ArrayList(components.values());

        Collections.sort(_sortedComponents, new ComponentComparitor());
View Full Code Here

Examples of org.apache.tapestry.IComponent

     *
     **/

    public String getComponentType()
    {
        IComponent container = _component.getContainer();

        IComponentSpecification containerSpecification = container.getSpecification();

        String id = _component.getId();
        IContainedComponent contained = containerSpecification.getComponent(id);

        // Temporary:  An implicit component will not be in the containing
View Full Code Here

Examples of org.apache.tapestry.IComponent

    private static class ComponentComparitor implements Comparator
    {
        public int compare(Object left, Object right)
        {
            IComponent leftComponent;
            String leftId;
            IComponent rightComponent;
            String rightId;

            if (left == right)
                return 0;

            leftComponent = (IComponent) left;
            rightComponent = (IComponent) right;

            leftId = leftComponent.getId();
            rightId = rightComponent.getId();

            return leftId.compareTo(rightId);
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.