Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change from enums to normal classes #62

Open
dims12 opened this issue Mar 5, 2017 · 2 comments
Open

Change from enums to normal classes #62

dims12 opened this issue Mar 5, 2017 · 2 comments

Comments

@dims12
Copy link

dims12 commented Mar 5, 2017

Why did you put all static methods to enums? This disallows to extend them! Suggest to turn enums to normal classes so that anybody can extend them.

@mikebaum
Copy link
Collaborator

mikebaum commented Mar 6, 2017

@dims12 This was a pattern that was established before I joined the project. I guess the rational was to prevent people from instantiating the utils classes. I'm curious which classes you would like to extend and why? If you would like to add new methods, perhaps they could be added to the library in the classes you'd like to extend directly.

@dims12
Copy link
Author

dims12 commented Mar 6, 2017

I was wishing to add observables for JList, which are apparently absent . Also there is a library, called Piccolo2D, which is closely related to Swing, but separate. It is not reasonable to add methods for this library into RxSwing, but in some application programmer may decide to extend SwingObservable to supply missing methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants