use of org.apache.pivot.beans.BXMLSerializer in project pivot by apache.
the class BXMLExplorer method startup.
@Override
public void startup(Display display, Map<String, String> properties) throws Exception {
BXMLSerializer bxmlSerializer = new BXMLSerializer();
window = (BXMLExplorerWindow) bxmlSerializer.readObject(BXMLExplorer.class, "bxml_explorer_window.bxml", true);
window.open(display);
}
use of org.apache.pivot.beans.BXMLSerializer in project pivot by apache.
the class Pivot718 method startup.
@Override
public void startup(Display display, Map<String, String> properties) throws Exception {
BXMLSerializer bxmlSerializer = new BXMLSerializer();
window = (Window) bxmlSerializer.readObject(Pivot718.class, "pivot_718.bxml");
controlTree(bxmlSerializer);
controlList(bxmlSerializer);
window.open(display);
}
use of org.apache.pivot.beans.BXMLSerializer in project pivot by apache.
the class Pivot734 method startup.
@Override
public void startup(Display display, Map<String, String> properties) throws Exception {
BXMLSerializer bxmlSerializer = new BXMLSerializer();
window = (Window) bxmlSerializer.readObject(Pivot734.class, "pivot_734.bxml");
controlTree(bxmlSerializer);
window.open(display);
}
use of org.apache.pivot.beans.BXMLSerializer in project pivot by apache.
the class Pivot738 method startup.
@Override
public void startup(Display display, Map<String, String> properties) throws Exception {
BXMLSerializer bxmlSerializer = new BXMLSerializer();
window = (Window) bxmlSerializer.readObject(Pivot734.class, "pivot_738.bxml");
window.setMaximized(true);
window.setWidth(400);
window.setHeight(250);
window.open(display);
}
use of org.apache.pivot.beans.BXMLSerializer in project pivot by apache.
the class TestDialog method create.
public static TestDialog create() {
System.out.println("TestDialog create()");
TestDialog dialog = null;
try {
BXMLSerializer bxmlSerializer = new BXMLSerializer();
dialog = (TestDialog) bxmlSerializer.readObject(TestDialog.class, DIALOG_MARKUP_FILE);
} catch (IOException e) {
e.printStackTrace();
} catch (SerializationException e) {
e.printStackTrace();
}
return dialog;
}
Aggregations