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

org.rabbitcontrol.rcp.model.widgets.BangWidget Maven / Gradle / Ivy

Go to download

RabbitControl is a binary data-format definition to describe data values and ui-elements.

The newest version!
package org.rabbitcontrol.rcp.model.widgets;

import org.rabbitcontrol.rcp.model.RCPParser;
import org.rabbitcontrol.rcp.model.RcpTypes.Widgettype;

import java.io.IOException;
import java.io.OutputStream;

public class BangWidget extends WidgetImpl {

    public BangWidget() {
        super(Widgettype.BANG);
    }

    @Override
    public void write(final OutputStream _outputStream, final boolean _all) throws IOException {

        super.write(_outputStream, _all);

        // finalize parameter with terminator
        _outputStream.write(RCPParser.TERMINATOR);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy