All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nakedobjects.plugins.htmlviewer.html.Action Maven / Gradle / Ivy

The newest version!
package org.nakedobjects.plugins.htmlviewer.html;

import java.io.PrintWriter;

import org.nakedobjects.plugins.htmlviewer.component.Component;


class Action implements Component {
    private final String objectId;
    private final String name;
    private final String description;
    private final String field;
    private final String action;
    private final String elementId;

    public Action(
            final String action,
            final String name,
            final String description,
            final String objectId,
            final String elementId,
            final String field) {
        this.action = action;
        this.name = name;
        this.description = description;
        this.objectId = objectId;
        this.elementId = elementId;
        this.field = field;
    }

    public void write(final PrintWriter writer) {
        writer.print("
"); writer.print(" "); writer.print(name); writer.print(""); writer.println("
"); } } // Copyright (c) Naked Objects Group Ltd.




© 2015 - 2025 Weber Informatics LLC | Privacy Policy