Examples of UI


Examples of com.vaadin.ui.UI

    HorizontalLayout hl = new HorizontalLayout();
    Table table = new Table("Drag and drop sortable table");

    @Override
    protected void setup() {
        UI w = getLayout().getUI();

        TestUtils
                .injectCSS(
                        w,
                        ".v-table-row-drag-middle .v-table-cell-content {"
View Full Code Here

Examples of com.vaadin.ui.UI

        control = EasyMock.createStrictControl();

        session = new AlwaysLockedVaadinSession(
                control.createMock(VaadinService.class));

        ui = new UI() {
            @Override
            protected void init(VaadinRequest request) {
            }
        };
        content = new CssLayout();
View Full Code Here

Examples of oms3.annotations.UI

        // clean up html docs in config area, it will be redone
        OmsBoxUtils.cleanModuleDocumentation();

        for( Class< ? > moduleClass : classesList ) {
            try {
                UI uiHints = moduleClass.getAnnotation(UI.class);
                if (uiHints != null) {
                    String uiHintStr = uiHints.value();
                    if (uiHintStr.contains(OmsBoxConstants.HIDE_UI_HINT)) {
                        continue;
                    }
                }
View Full Code Here

Examples of org.digibots.ui.UI

        new KeyboardManager(getWorld(), this);
       
        /*
         * UI (Stats)
         */
        this.ui = new UI(this, getCanvas(), tabbedPane);
       
        Parameters params = ui.showParametersAsker();
       
        world.startSimulation(params);
       
View Full Code Here

Examples of org.eclipse.e4.xwt.annotation.UI

    protected void doInject(Object targetObject, String name,
        Object previousClr) {
      Class<?> filedType = targetObject.getClass();
      if (clr != null && (previousClr != clr || previousClr == null)) {
        for (Field field : clr.getClass().getDeclaredFields()) {
          UI annotation = field.getAnnotation(UI.class);
          if (annotation != null) {
            if (!field.getType().isAssignableFrom(filedType)) {
              continue;
            }
            String annotationValue = annotation.value();
            if (annotationValue == null
                || annotationValue.length() == 0) {
              if (field.getName().equals(name)) {
                field.setAccessible(true);
                try {
View Full Code Here

Examples of org.jpos.ui.UI

* @see org.jpos.ui.UIFactory
*/
@SuppressWarnings("unchecked")
public class JTreeFactory implements UIFactory {
    public JComponent create (UI ui, Element e) {
        final UI parentUI = ui;
        final Map map = new HashMap ();
        final JTree tree = new JTree (getNode (e, map));
        String font = e.getAttributeValue ("font");
        if (font != null)
            tree.setFont (Font.decode (font));
        tree.setRootVisible (e.getTextTrim().length() > 0);

        tree.addTreeSelectionListener (
            new TreeSelectionListener() {
                public void valueChanged(TreeSelectionEvent evt) {
                    DefaultMutableTreeNode node =
                        (DefaultMutableTreeNode)
                            tree.getLastSelectedPathComponent();
                    if (node != null) {
                        String s = (String) map.get (node);
                        if (s != null) {
                            StringTokenizer st = new StringTokenizer (s);
                            String action  = st.nextToken ();
                            String command = null;
                            if (st.hasMoreTokens ())
                                command = st.nextToken ();

                            ActionListener al =
                                (ActionListener) parentUI.get(action);
                            if (al != null) {
                                al.actionPerformed (
                                    new ActionEvent (node, 0, command)
                                );
                            }
View Full Code Here

Examples of org.pokenet.client.ui.Ui

          m_weather = new WeatherService();
          m_time = new TimeService();
          if(options != null)
            m_weather.setEnabled(!Boolean.parseBoolean(options.get("disableWeather")));
         
          m_ui = new Ui(m_display);
          m_ui.setAllVisible(false)
        }
       
      }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.