| 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).
|
 |
 |
|
|
subject: What is Mixin Classes in JavaFX?
|
|
|