Search in sources :

Example 26 with ILabel

use of com.servoy.j2db.ui.ILabel in project servoy-client by Servoy.

the class DataCalendar method setVisible.

@Override
public void setVisible(boolean flag) {
    super.setVisible(flag);
    if (labels != null) {
        for (int i = 0; i < labels.size(); i++) {
            ILabel label = labels.get(i);
            label.setComponentVisible(flag);
        }
    }
}
Also used : ILabel(com.servoy.j2db.ui.ILabel) Point(java.awt.Point)

Example 27 with ILabel

use of com.servoy.j2db.ui.ILabel in project servoy-client by Servoy.

the class DataCheckBox method setComponentEnabled.

public void setComponentEnabled(final boolean b) {
    if (accessible || !b) {
        enabled = b;
        super.setEnabled(enabled && !readonly);
        if (labels != null) {
            for (int i = 0; i < labels.size(); i++) {
                ILabel label = labels.get(i);
                label.setComponentEnabled(b);
            }
        }
    }
}
Also used : ILabel(com.servoy.j2db.ui.ILabel) Point(java.awt.Point)

Example 28 with ILabel

use of com.servoy.j2db.ui.ILabel in project servoy-client by Servoy.

the class DataChoice method setComponentEnabled.

public void setComponentEnabled(final boolean b) {
    if (accessible || !b) {
        super.setEnabled(b);
        enclosedComponent.setEnabled(b);
        if (labels != null) {
            for (int i = 0; i < labels.size(); i++) {
                ILabel label = labels.get(i);
                label.setComponentEnabled(b);
            }
        }
    }
}
Also used : ILabel(com.servoy.j2db.ui.ILabel) Point(java.awt.Point)

Example 29 with ILabel

use of com.servoy.j2db.ui.ILabel in project servoy-client by Servoy.

the class DataField method setComponentEnabled.

public void setComponentEnabled(final boolean b) {
    if (accessible || !b) {
        super.setEnabled(b);
        if (labels != null) {
            for (int i = 0; i < labels.size(); i++) {
                ILabel label = labels.get(i);
                label.setComponentEnabled(b);
            }
        }
    }
}
Also used : ILabel(com.servoy.j2db.ui.ILabel) Point(java.awt.Point)

Example 30 with ILabel

use of com.servoy.j2db.ui.ILabel in project servoy-client by Servoy.

the class DataField method setVisible.

@Override
public void setVisible(boolean flag) {
    super.setVisible(flag);
    if (labels != null) {
        for (int i = 0; i < labels.size(); i++) {
            ILabel label = labels.get(i);
            label.setComponentVisible(flag);
        }
    }
}
Also used : ILabel(com.servoy.j2db.ui.ILabel) Point(java.awt.Point)

Aggregations

ILabel (com.servoy.j2db.ui.ILabel)49 Point (java.awt.Point)40 RuntimeScriptLabel (com.servoy.j2db.ui.scripting.RuntimeScriptLabel)5 IRuntimeComponent (com.servoy.j2db.ui.runtime.IRuntimeComponent)4 IDisplayData (com.servoy.j2db.dataprocessing.IDisplayData)3 IComponent (com.servoy.j2db.ui.IComponent)3 IFieldComponent (com.servoy.j2db.ui.IFieldComponent)3 Component (org.apache.wicket.Component)3 FormComponent (org.apache.wicket.markup.html.form.FormComponent)3 RepositoryException (com.servoy.j2db.persistence.RepositoryException)2 CloseableAjaxRequestTarget (com.servoy.j2db.server.headlessclient.CloseableAjaxRequestTarget)2 MainPage (com.servoy.j2db.server.headlessclient.MainPage)2 IProviderStylePropertyChanges (com.servoy.j2db.ui.IProviderStylePropertyChanges)2 RuntimeScriptButton (com.servoy.j2db.ui.scripting.RuntimeScriptButton)2 ArrayList (java.util.ArrayList)2 HashMap (java.util.HashMap)2 List (java.util.List)2 ListItem (org.apache.wicket.markup.html.list.ListItem)2 FormController (com.servoy.j2db.FormController)1 IForm (com.servoy.j2db.IForm)1