Package com.volantis.mcs.protocols

Examples of com.volantis.mcs.protocols.AnchorAttributes


        createTableElement(protocol,attributes);
        for (int i = 0; i < MAIN_IMAGES_TABLE_SIZE; i++) {
            createTableRowElement(protocol);
            for (int j = 0; j < MAIN_IMAGES_TABLE_SIZE; j++) {
                createTableCellElement(protocol, idCollector, true);
                AnchorAttributes aAttributes = new AnchorAttributes();
                aAttributes.setHref("javascript:void(0)");
                protocol.writeOpenAnchor(aAttributes);
                ImageAttributes iAttributes = new ImageAttributes();
                iAttributes.setSrc("");
                protocol.writeImage(iAttributes);
                protocol.writeCloseAnchor(aAttributes);
View Full Code Here


                        || (i == 0 && j == (MOVABLE_IMAGES_TABLE_SIZE - 1))
                        || (i == (MOVABLE_IMAGES_TABLE_SIZE - 1) && j == (MOVABLE_IMAGES_TABLE_SIZE - 1))) {
                    createTableCellElement(protocol, idCollector, false);
                } else {
                    createTableCellElement(protocol, idCollector, true);
                    AnchorAttributes aAttributes = new AnchorAttributes();
                    aAttributes.setHref("javascript:void(0)");
                    protocol.writeOpenAnchor(aAttributes);
                    ImageAttributes iAttributes = new ImageAttributes();
                    iAttributes.setSrc("");
                    protocol.writeImage(iAttributes);
                    protocol.writeCloseAnchor(aAttributes);
View Full Code Here

        TableAttributes attributes = createTableAttributes(protocol, false);
        createTableElement(protocol,attributes);
        createTableRowElement(protocol);
        for (int j = 0; j < 4 * MAIN_IMAGES_TABLE_SIZE; j++) {
            createTableCellElement(protocol, idCollector, true);
            AnchorAttributes aAttributes = new AnchorAttributes();
            aAttributes.setHref("javascript:void(0)");
            protocol.writeOpenAnchor(aAttributes);
            ImageAttributes iAttributes = new ImageAttributes();
            iAttributes.setSrc("");
            protocol.writeImage(iAttributes);
            protocol.writeCloseAnchor(aAttributes);
View Full Code Here

                // start the emulation wrapping element
                emulation.start(outputBuffer);
            }

            // Create the anchor attributes
            attributes = new AnchorAttributes();

            // Stylistic properties
            ElementDetails elementDetails = item.getElementDetails();
            if (elementDetails != null && outer) {
                attributes.setElementDetails(elementDetails);
View Full Code Here

     */
    protected void doShardLink(DOMOutputBuffer dom,
                               ShardLinkAttributes attributes)
            throws ProtocolException {

        AnchorAttributes a = new AnchorAttributes();

        // Initialise the anchor attributes.
        a.copy(attributes);

        a.setShortcut(new LiteralTextAssetReference(attributes.getShortcut()));
        a.setContent(attributes.getLinkText());
        a.setHref(attributes.getHref());

        doAnchor(dom, a);
    }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.protocols.AnchorAttributes

Copyright © 2018 www.massapicom. 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.