Examples of registerAttribute()


Examples of fr.soleil.comete.dao.tangodao.TangoKey.registerAttribute()

        attributeLabel.setText(newLabel);
        // AttributeScalarInput
        TangoKey tangoKey = new TangoKey();
        String deviceName = TangoDAOFactory.getDeviceName(newLabel);
        String entityName = TangoDAOFactory.getEntityName(newLabel);
        tangoKey.registerAttribute(deviceName, entityName);
        attributeRead.addKey(CurrentScanDataModel.TANGO_FACTORY_CLASS, tangoKey);
        attributeField.addKey(CurrentScanDataModel.TANGO_FACTORY_CLASS, tangoKey);
    }

    private void switchFactory() {
View Full Code Here

Examples of fr.soleil.comete.dao.tangodao.TangoKey.registerAttribute()

    private void initKey() {
        CurrentScanDataModel.getDeviceProxy(scanServerDeviceName);
        runName.removeKey(CurrentScanDataModel.TANGO_FACTORY_CLASS);
        runName.clearDAO();
        TangoKey tangoKey = new TangoKey();
        tangoKey.registerAttribute(scanServerDeviceName, CurrentScanDataModel.RUN_NAME);
        runName.addKey(CurrentScanDataModel.TANGO_FACTORY_CLASS, tangoKey);
        if (started) {
            runName.switchDAOFactory(CurrentScanDataModel.TANGO_FACTORY_CLASS);
        }
    }
View Full Code Here

Examples of fr.soleil.comete.dao.tangodao.TangoKey.registerAttribute()

     * @param attributeShortName the attribute short name (without device name)
     * @return The expected {@link TangoKey}
     */
    public TangoKey generateAttributeKey(String attributeShortName) {
        TangoKey key = new TangoKey();
        key.registerAttribute(getModel(), attributeShortName);
        return key;
    }

    /**
     * Generates the {@link TangoKey} that corresponds to an attribute in the associated device
View Full Code Here

Examples of org.apache.beehive.netui.tags.rendering.AbstractHtmlState.registerAttribute()

     * description="The title. "
     */
    public void setTitle(String title)
    {
        AbstractHtmlState tsh = getState();
        tsh.registerAttribute(AbstractHtmlState.ATTR_GENERAL, TITLE, title);
    }

    /******************** the HtmlI18n properties ******************************************/
    /**
     * Sets the lang attribute for the HTML element.
View Full Code Here

Examples of org.apache.beehive.netui.tags.rendering.AbstractHtmlState.registerAttribute()

     * description="Sets the language code for the base language of an element's attribute values and text content."
     */
    public void setLang(String lang)
    {
        AbstractHtmlState tsh = getState();
        tsh.registerAttribute(AbstractHtmlState.ATTR_GENERAL, LANG, lang);
    }

    /**
     * Sets the dir attribute for the HTML element.
     * @param dir
View Full Code Here

Examples of org.apache.beehive.netui.tags.rendering.AbstractHtmlState.registerAttribute()

     * description="Specifies the direction of text. (LTR | RTL)"
     */
    public void setDir(String dir)
    {
        AbstractHtmlState tsh = getState();
        tsh.registerAttribute(AbstractHtmlState.ATTR_GENERAL, DIR, dir);
    }

    //******************* the HtmlEvent Properties  ****************************************
    /**
     * Gets the onClick javascript event.
View Full Code Here

Examples of org.apache.beehive.netui.tags.rendering.AbstractHtmlState.registerAttribute()

     * description="The onClick JavaScript event."
     */
    public void setOnClick(String onclick)
    {
        AbstractHtmlState tsh = getState();
        tsh.registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, ONCLICK, onclick);
    }

    /**
     * Sets the onDblClick javascript event.
     * @param ondblclick the onDblClick event.
View Full Code Here

Examples of org.apache.beehive.netui.tags.rendering.AbstractHtmlState.registerAttribute()

     * description="The onDblClick JavaScript event."
     */
    public void setOnDblClick(String ondblclick)
    {
        AbstractHtmlState tsh = getState();
        tsh.registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, ONDBLCLICK, ondblclick);
    }

    /**
     * Sets the onKeyDown javascript event.
     * @param onkeydown the onKeyDown event.
View Full Code Here

Examples of org.apache.beehive.netui.tags.rendering.AbstractHtmlState.registerAttribute()

     * description="The onKeyDown JavaScript event."
     */
    public void setOnKeyDown(String onkeydown)
    {
        AbstractHtmlState tsh = getState();
        tsh.registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, ONKEYDOWN, onkeydown);
    }

    /**
     * Sets the onKeyPress javascript event.
     * @param onkeypress the onKeyPress event.
View Full Code Here

Examples of org.apache.beehive.netui.tags.rendering.AbstractHtmlState.registerAttribute()

     * description="The onKeyPress JavaScript event."
     */
    public void setOnKeyPress(String onkeypress)
    {
        AbstractHtmlState tsh = getState();
        tsh.registerAttribute(AbstractHtmlState.ATTR_JAVASCRIPT, ONKEYPRESS, onkeypress);
    }

    /**
     * Sets the onKeyUp javascript event.
     * @param onkeyup the onKeyUp event.
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.