git://git.nikiroo.be
/
nikiroo-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
#33 expose SwingComponent
[nikiroo-utils.git]
/
src
/
jexer
/
backend
/
SwingSessionInfo.java
diff --git
a/src/jexer/backend/SwingSessionInfo.java
b/src/jexer/backend/SwingSessionInfo.java
index b19c60f6a38e183b95781e46dbe8e12d116ddb89..6d1c644fd5498ad571031fbe8830a8a81985288b 100644
(file)
--- a/
src/jexer/backend/SwingSessionInfo.java
+++ b/
src/jexer/backend/SwingSessionInfo.java
@@
-207,4
+207,13
@@
public class SwingSessionInfo implements SessionInfo {
this.textHeight = textHeight;
}
+ /**
+ * Getter for the underlying Swing component.
+ *
+ * @return the SwingComponent
+ */
+ public SwingComponent getSwingComponent() {
+ return swing;
+ }
+
}