protected void postShowContainer(Container c) { if ("Main".equals(c.getName())) { postContainerMain(c); aboutToShowThisContainer = null; return; } }
protected void beforeShowContainer(Container c) { aboutToShowThisContainer = c; if ("Main".equals(c.getName())) { beforeContainerMain(c); aboutToShowThisContainer = null; return; } }
protected void handleComponentAction(Component c, ActionEvent event) { Container rootContainerAncestor = getRootAncestor(c); if (rootContainerAncestor == null) return; String rootContainerName = rootContainerAncestor.getName(); if (c.getParent().getLeadParent() != null) { c = c.getParent().getLeadParent(); } if (rootContainerName == null) return; if (rootContainerName.equals("Main")) { if ("TextArea".equals(c.getName())) { onMain_TextAreaAction(c, event); return; } if ("MultiButton".equals(c.getName())) { onMain_MultiButtonAction(c, event); return; } if ("Button".equals(c.getName())) { onMain_ButtonAction(c, event); return; } if ("MultiButton2".equals(c.getName())) { onMain_MultiButton2Action(c, event); return; } if ("MultiButton4".equals(c.getName())) { onMain_MultiButton4Action(c, event); return; } if ("MultiButton1".equals(c.getName())) { onMain_MultiButton1Action(c, event); return; } if ("MultiButton3".equals(c.getName())) { onMain_MultiButton3Action(c, event); return; } } }