@Test public void testPaintContent() { try { sshTerm.paintContent(new SudoPaintTarget()); } catch (PaintException e) { fail("PaintContent exception was thrown"); } }
@Override public synchronized void paintContent(PaintTarget target) throws PaintException { super.paintContent(target); target.addVariable(this, "fromSSH", dumpContents); target.addVariable(this, "update", forceUpdate); target.addVariable(this, "focus", focus); target.addVariable(this, "closeClient", closeClient); forceUpdate = false; }
SSHTerminal extends AbstractComponent { @Override public synchronized void paintContent(PaintTarget target) throws PaintException { super.paintContent(target); target.addVariable(this, "fromSSH", dumpContents); target.addVariable(this, "update", forceUpdate); target.addVariable(this, "focus", focus); target.addVariable(this, "closeClient", closeClient); forceUpdate = false; } }
SSHTerminal extends AbstractComponent { @Override public synchronized void paintContent(PaintTarget target) throws PaintException { super.paintContent(target); target.addVariable(this, "fromSSH", dumpContents); target.addVariable(this, "update", forceUpdate); target.addVariable(this, "focus", focus); target.addVariable(this, "closeClient", closeClient); forceUpdate = false; } SSHTerminal(SSHWindow sshWindow, ClientSession session, int width, int height); }
SSHTerminal extends AbstractComponent { @Override public synchronized void paintContent(PaintTarget target) throws PaintException { super.paintContent(target); target.addVariable(this, "fromSSH", dumpContents); target.addVariable(this, "update", forceUpdate); target.addVariable(this, "focus", focus); target.addVariable(this, "closeClient", closeClient); forceUpdate = false; } SSHTerminal(SSHWindow sshWindow, ClientSession session, int width, int height); boolean close(); @Override synchronized void paintContent(PaintTarget target); @Override synchronized void changeVariables(Object source, Map<String,Object> variables); }
SSHTerminal extends AbstractComponent { @Override public synchronized void paintContent(PaintTarget target) throws PaintException { super.paintContent(target); target.addVariable(this, "fromSSH", dumpContents); target.addVariable(this, "update", forceUpdate); target.addVariable(this, "focus", focus); target.addVariable(this, "closeClient", closeClient); forceUpdate = false; } SSHTerminal(SSHWindow sshWindow, ClientSession session, int width, int height); boolean close(); @Override synchronized void paintContent(PaintTarget target); @Override synchronized void changeVariables(Object source, Map<String,Object> variables);  }