Package osx.factory

Source Code of osx.factory.OSXFactory3

package osx.factory;

import osx.components.OSXButton;
import osx.components.OSXMenu;
import osx.components.OSXSlider;
import abstraction.components.Button;
import abstraction.components.Menu;
import abstraction.components.Slider;
import abstraction.factory.GUIFactory3;

public class OSXFactory3 extends GUIFactory3 {
  private static OSXFactory3 factory = new OSXFactory3();

  public static OSXFactory3 getInstance() {
    return factory;
  };

  public Button createButton() {
    return (new OSXButton());
  }

  public Menu createMenu() {
    return (new OSXMenu());
  }

  @Override
  public Slider createSlider() {
    return (new OSXSlider());
  }

}
TOP

Related Classes of osx.factory.OSXFactory3

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.