public void zoomOut() {
   component.setScale(component.getScale() * .95);
 }
 @Override
 public void stateChanged(ChangeEvent e) {
   component.setScale(slider.getValue() * 0.05);
 }
 public void zoomIn() {
   component.setScale(component.getScale() * 1.05);
 }
 public boolean getInverted() {
   return component.getInverted();
 }
 public void setInverted(boolean inverted) {
   component.setInverted(inverted);
 }
 public boolean getToggleHighlights() {
   return component.getToggleHighlights();
 }
 public void setToggleHighlights(boolean highlights) {
   component.setToggleHighlights(highlights);
 }
 public double getScale() {
   return component.getScale();
 }
 public void setScale(double newScale) {
   component.setScale(newScale);
 }
Esempio n. 10
0
 public void invertImage() {
   component.invertImage();
 }
Esempio n. 11
0
  public void setImage(String url) {

    component.setImage(url);
    // componentPanel.add(component, BorderLayout.CENTER);
    revalidate();
  }
Esempio n. 12
0
 public void clearImage() {
   component.clearImage();
 }
Esempio n. 13
0
 public void toggleHighlights() {
   component.toggleHighlights();
 }
Esempio n. 14
0
 public void drawCell(int x, int y, int width, int height, int record, int field) {
   component.drawCell(x, y, width, height, record, field);
 }