congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
javax.swing.plaf.synth
Code IndexAdd Tabnine to your IDE (free)

How to use javax.swing.plaf.synth

Best Java code snippets using javax.swing.plaf.synth (Showing top 20 results out of 315)

origin: magefree/mage

public boolean isOpaque(SynthContext context) {
  if (context.getRegion() == Region.INTERNAL_FRAME) {
    return false;
  } else {
    return style.isOpaque(context);
  }
}
origin: magefree/mage

public boolean getBoolean(SynthContext context, Object key,
    boolean defaultValue) {
  return style.getBoolean(context, key, defaultValue);
}
origin: magefree/mage

public String getString(SynthContext context, Object key,
    String defaultValue) {
  return style.getString(context, key, defaultValue);
}
origin: org.swinglabs.swingx/swingx-all

/**
 * 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;
}
 
origin: magefree/mage

public Insets getInsets(SynthContext context, Insets insets) {
  return style.getInsets(context, insets);
}
origin: org.bidib.jbidib.swinglabs.swingx/swingx-core

/**
 * Returns the style for this component from the style factory.
 * @return
 */
private SynthStyle getStyle() {
  return SynthLookAndFeel.getStyleFactory().getStyle(list, getRegion());
}
origin: magefree/mage

public Color getColor(SynthContext context, ColorType type) {
  return style.getColor(context, type);
}
origin: magefree/mage

public void uninstallDefaults(SynthContext context) {
  style.uninstallDefaults(context);
}
origin: magefree/mage

public void installDefaults(SynthContext context) {
  style.installDefaults(context);
}
origin: magefree/mage

public int getInt(SynthContext context, Object key, int defaultValue) {
  return style.getInt(context, key, defaultValue);
}
origin: khuxtable/seaglass

/**
 * {@inheritDoc}
 */
@Override
public boolean isOpaque(SynthContext ctx) {
  return style.isOpaque(ctx);
}
origin: magefree/mage

  public SynthStyle getStyle(JComponent c, Region id) {
    SynthStyle s = wrappedFactory.getStyle(c, id);
    if (id == Region.INTERNAL_FRAME) {
      s = new TranslucentSynthSytle(s);
    }
    return s;
  }
}
origin: magefree/mage

public Object get(SynthContext context, Object key) {
  return style.get(context, key);
}
origin: magefree/mage

public Font getFont(SynthContext context) {
  return style.getFont(context);
}
origin: magefree/mage

public Icon getIcon(SynthContext context, Object key) {
  return style.getIcon(context, key);
}
origin: magefree/mage

public SynthGraphicsUtils getGraphicsUtils(SynthContext context) {
  return style.getGraphicsUtils(context);
}
origin: khuxtable/seaglass

/**
 * Get the region.
 *
 * @param  c the component.
 *
 * @return the region.
 */
private Region getRegion(JComponent c) {
  return SynthLookAndFeel.getRegion(c);
}
origin: org.bidib.jbidib.swinglabs.swingx/swingx-core

/**
 * 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;
}
 
origin: com.haulmont.thirdparty/swingx-core

/**
 * 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;
}
 
origin: org.swinglabs.swingx/swingx-core

/**
 * 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;
}
 
javax.swing.plaf.synth

Most used classes

  • SynthContext
  • SynthStyle
  • SynthLookAndFeel
  • Region
  • SynthStyleFactory
  • ColorType,
  • SynthFormattedTextFieldUI,
  • SynthGraphicsUtils
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now