org.rabbitcontrol.rcp.model.widgets.BangWidget Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rcp Show documentation
Show all versions of rcp Show documentation
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);
}
}