Codota Logo
LightFrameAction.getLblAmbientColor
Code IndexAdd Codota to your IDE (free)

How to use
getLblAmbientColor
method
in
kendzi3d.light.ui.action.LightFrameAction

Best Java code snippets using kendzi3d.light.ui.action.LightFrameAction.getLblAmbientColor (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: kendzi/kendzi3d

@Override
protected void onSelectAmbientColor() {
  Color color = JColorChooser.showDialog(this, "Select color", getLblAmbientColor().getBackground());
  getLblAmbientColor().setBackground(color);
}
origin: kendzi/kendzi3d

private void fillForm(LightConfiguration light) {
  getDirectionText().setText("" + light.getDirection());
  getAngleText().setText("" + light.getAngle());
  getLblAmbientColor().setBackground(light.getAmbientColor());
  getLblDiffuseColor().setBackground(light.getDiffuseColor());
}
origin: kendzi/kendzi3d

@Override
protected void onOk() {
  String directionText = getDirectionText().getText();
  String angleText = getAngleText().getText();
  Color ambientColor = getLblAmbientColor().getBackground();
  Color diffuseColor = getLblDiffuseColor().getBackground();
  Double direction = ParseUtil.parseDouble(directionText);
  Double angle = ParseUtil.parseDouble(angleText);
  if (validate(direction, angle)) {
    lightService.save(new LightConfiguration(direction, angle, ambientColor, diffuseColor));
    // dispose();
  }
}
kendzi3d.light.ui.actionLightFrameActiongetLblAmbientColor

Popular methods of LightFrameAction

  • <init>
  • fillForm
  • getAngleText
  • getDirectionText
  • getLblDiffuseColor
  • isDisplayable
  • load
  • setVisible
  • validate

Popular in Java

  • Updating database using SQL prepared statement
  • compareTo (BigDecimal)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getExternalFilesDir (Context)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • String (java.lang)
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement.A servlet is a small Java program that runs within
  • JTextField (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now