mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8252722: More Swing plaf APIs that rely on default constructors
Reviewed-by: prr
This commit is contained in:
parent
3495c19d1a
commit
527a30930e
36 changed files with 468 additions and 4 deletions
|
@ -96,6 +96,11 @@ public class BasicTableUI extends TableUI
|
|||
*/
|
||||
private boolean isFileList = false;
|
||||
|
||||
/**
|
||||
* Constructs a {@code BasicTableUI}.
|
||||
*/
|
||||
public BasicTableUI() {}
|
||||
|
||||
//
|
||||
// Helper class for keyboard actions
|
||||
//
|
||||
|
@ -760,6 +765,11 @@ public class BasicTableUI extends TableUI
|
|||
// its functionality has been moved into Handler. If you need to add
|
||||
// new functionality add it to the Handler, but make sure this
|
||||
// class calls into the Handler.
|
||||
/**
|
||||
* Constructs a {@code KeyHandler}.
|
||||
*/
|
||||
public KeyHandler() {}
|
||||
|
||||
public void keyPressed(KeyEvent e) {
|
||||
getHandler().keyPressed(e);
|
||||
}
|
||||
|
@ -786,6 +796,11 @@ public class BasicTableUI extends TableUI
|
|||
// its functionality has been moved into Handler. If you need to add
|
||||
// new functionality add it to the Handler, but make sure this
|
||||
// class calls into the Handler.
|
||||
/**
|
||||
* Constructs a {@code FocusHandler}.
|
||||
*/
|
||||
public FocusHandler() {}
|
||||
|
||||
public void focusGained(FocusEvent e) {
|
||||
getHandler().focusGained(e);
|
||||
}
|
||||
|
@ -808,6 +823,11 @@ public class BasicTableUI extends TableUI
|
|||
// its functionality has been moved into Handler. If you need to add
|
||||
// new functionality add it to the Handler, but make sure this
|
||||
// class calls into the Handler.
|
||||
/**
|
||||
* Constructs a {@code MouseInputHandler}.
|
||||
*/
|
||||
public MouseInputHandler() {}
|
||||
|
||||
public void mouseClicked(MouseEvent e) {
|
||||
getHandler().mouseClicked(e);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue