public boolean getBoolean(SynthContext context, Object key, boolean defaultValue) { return style.getBoolean(context, key, defaultValue); }
public String getString(SynthContext context, Object key, String defaultValue) { return style.getString(context, key, defaultValue); }
/** * Returns a SynthPainter from the context's style. Fall-back to default if * none available. * * @param context SynthContext containing the style, must not be null. * @return a SynthPainter from the context's style, or a default if null. */ public static SynthPainter getPainter(SynthContext context) { SynthPainter painter = context.getStyle().getPainter(context); return painter != null ? painter : NULL_PAINTER; }
public Insets getInsets(SynthContext context, Insets insets) { return style.getInsets(context, insets); }
/** * Returns the style for this component from the style factory. * @return */ private SynthStyle getStyle() { return SynthLookAndFeel.getStyleFactory().getStyle(list, getRegion()); }
public Color getColor(SynthContext context, ColorType type) { return style.getColor(context, type); }
public void uninstallDefaults(SynthContext context) { style.uninstallDefaults(context); }
public void installDefaults(SynthContext context) { style.installDefaults(context); }
public int getInt(SynthContext context, Object key, int defaultValue) { return style.getInt(context, key, defaultValue); }
/** * {@inheritDoc} */ @Override public boolean isOpaque(SynthContext ctx) { return style.isOpaque(ctx); }
public SynthStyle getStyle(JComponent c, Region id) { SynthStyle s = wrappedFactory.getStyle(c, id); if (id == Region.INTERNAL_FRAME) { s = new TranslucentSynthSytle(s); } return s; } }
public Object get(SynthContext context, Object key) { return style.get(context, key); }
public Font getFont(SynthContext context) { return style.getFont(context); }
public Icon getIcon(SynthContext context, Object key) { return style.getIcon(context, key); }
public SynthGraphicsUtils getGraphicsUtils(SynthContext context) { return style.getGraphicsUtils(context); }
/** * Get the region. * * @param c the component. * * @return the region. */ private Region getRegion(JComponent c) { return SynthLookAndFeel.getRegion(c); }
/** * Returns a SynthPainter from the context's style. Fall-back to default if * none available. * * @param context SynthContext containing the style, must not be null. * @return a SynthPainter from the context's style, or a default if null. */ public static SynthPainter getPainter(SynthContext context) { SynthPainter painter = context.getStyle().getPainter(context); return painter != null ? painter : NULL_PAINTER; }
/** * Returns a SynthPainter from the context's style. Fall-back to default if * none available. * * @param context SynthContext containing the style, must not be null. * @return a SynthPainter from the context's style, or a default if null. */ public static SynthPainter getPainter(SynthContext context) { SynthPainter painter = context.getStyle().getPainter(context); return painter != null ? painter : NULL_PAINTER; }
/** * Returns a SynthPainter from the context's style. Fall-back to default if * none available. * * @param context SynthContext containing the style, must not be null. * @return a SynthPainter from the context's style, or a default if null. */ public static SynthPainter getPainter(SynthContext context) { SynthPainter painter = context.getStyle().getPainter(context); return painter != null ? painter : NULL_PAINTER; }