IntelliJ Java IDE
The moose likes JavaFX and the fly likes What is Mixin Classes in JavaFX? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JavaFX
Reply Bookmark "What is Mixin Classes in JavaFX?" Watch "What is Mixin Classes in JavaFX?" New topic
Author

What is Mixin Classes in JavaFX?

Ninad Kulkarni
Ranch Hand

Joined: Aug 31, 2007
Posts: 754

What is Mixin Classes in JavaFX?


SCJP 5.0 - JavaRanch FAQ - Java Beginners FAQ - SCJP FAQ - SCJP Mock Tests - Tutorial - JavaSE7 - JavaEE6 -Generics FAQ - JLS - JVM Spec - Java FAQs - Smart Questions
jeevan stanzilous
Greenhorn

Joined: Jun 16, 2009
Posts: 9
Mixins look like regular classes, but have the mixin modifier on their declaration.Mixin is similar to interfaces in Java technology. mixin inheritance allows you to extend multiple mixin classes, giving you many of the benefits of multiple inheritance.

http://java.sun.com/javafx/1/tutorials/core/classes/#mixins
Philippe Lhoste
Greenhorn

Joined: Oct 23, 2009
Posts: 28
As said.
Somehow, they are between interfaces (as they define traits, and a class can implement several mixins) and abstract classes (as you can put method implementations in them).
I have the feeling they actually supersede abstract classes, which are probably kept only for compatibility (unless I miss something).
 
IntelliJ Java IDE
 
subject: What is Mixin Classes in JavaFX?
 
Threads others viewed
mixin class
Multiple inheritance doubt
Talk about: JavaFX: Developing Rich Internet Applications
What is JavaFX
definition of mixin interface
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture