/** * Gets the name of the specified component in the default locale. * This method is just a wrapper. */ public static String get( XSComponent comp ) { return (String)comp.apply(theInstance); }
/** * Invokes this object as a visitor with the specified component. */ public final boolean find( XSComponent c ) { return c.apply(this); }
/** * Invokes this object as a visitor with the specified component. */ public final boolean find( XSComponent c ) { return c.apply(this); }
/** * Invokes this object as a visitor with the specified component. */ public final boolean find( XSComponent c ) { return c.apply(this); }
/** * Invokes this object as a visitor with the specified component. */ public final boolean find( XSComponent c ) { return c.apply(this); }
/** * Invokes this object as a visitor with the specified component. */ public final boolean find( XSComponent c ) { return c.apply(this); }
/** * Gets the name of the specified component in the default locale. * This method is just a wrapper. */ public static String get( XSComponent comp ) { return (String)comp.apply(theInstance); }
/** * Gets the name of the specified component in the default locale. * This method is just a wrapper. */ public static String get( XSComponent comp ) { return (String)comp.apply(theInstance); }
public static Long getLength(XSComponent component) { if (component == null) { return null; } else { return component.apply(new LengthAnalyzer()); } }
public static Long getMaxLength(XSComponent component) { if (component == null) { return null; } else { return component.apply(new MaxLengthAnalyzer()); } }
public static Long getTotalDigits(XSComponent component) { if (component == null) { return null; } else { return component.apply(new TotalDigitsAnalyzer()); } }
private void buildBindings(Bindings bindings) { bindings.scd(schemaComponent.apply(SCD)); outlineType.bindingsBuilder.build(this, bindings); } }
private void buildBindings(Bindings bindings) { bindings.scd(schemaComponent.apply(SCD)); outlineType.bindingsBuilder.build(this, bindings); } }
private void buildBindings(Bindings bindings) { bindings.scd(schemaComponent.apply(SCD)); outlineType.bindingsBuilder.build(this, bindings); } }
private static BIProperty getDefault( BGMBuilder builder, XSComponent c ) { while(c!=null) { c = c.apply(defaultCustomizationFinder); if(c!=null) { BIProperty prop = builder.getBindInfo(c).get(BIProperty.class); if(prop!=null) return prop; } } // default to the global one return builder.getGlobalBinding().getDefaultProperty(); }
private static BIProperty getDefault( BGMBuilder builder, XSComponent c ) { while(c!=null) { c = c.apply(defaultCustomizationFinder); if(c!=null) { BIProperty prop = builder.getBindInfo(c).get(BIProperty.class); if(prop!=null) return prop; } } // default to the global one return builder.getGlobalBinding().getDefaultProperty(); }
private static BIProperty getDefault( BGMBuilder builder, XSComponent c ) { while(c!=null) { c = c.apply(defaultCustomizationFinder); if(c!=null) { BIProperty prop = builder.getBindInfo(c).get(BIProperty.class); if(prop!=null) return prop; } } // default to the global one return builder.getGlobalBinding().getDefaultProperty(); }
/** * If the component maps to a property, forwards to purple, otherwise to green. * * If the component is mapped to a type, this method needs to return true. * See the chart at the class javadoc. */ public void ying( XSComponent sc, @Nullable XSComponent referer ) { if(sc.apply(toPurple)==true || getClassSelector().bindToType(sc,referer)!=null) sc.visit(purple); else sc.visit(green); }
/** * If the component maps to a property, forwards to purple, otherwise to green. * * If the component is mapped to a type, this method needs to return true. * See the chart at the class javadoc. */ public void ying( XSComponent sc, @Nullable XSComponent referer ) { if(sc.apply(toPurple)==true || getClassSelector().bindToType(sc,referer)!=null) sc.visit(purple); else sc.visit(green); }
/** * If the component maps to a property, forwards to purple, otherwise to green. * * If the component is mapped to a type, this method needs to return true. * See the chart at the class javadoc. */ public void ying( XSComponent sc, @Nullable XSComponent referer ) { if(sc.apply(toPurple)==true || getClassSelector().bindToType(sc,referer)!=null) sc.visit(purple); else sc.visit(green); }