Class ImagePaintComponent

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable

public class ImagePaintComponent extends JComponent
See Also:
  • Field Details

  • Constructor Details

    • ImagePaintComponent

      public ImagePaintComponent()
  • Method Details

    • main

      public static void main(String[] args)
    • getSugestedSaves

      public List<String> getSugestedSaves()
    • setVCorner

      public void setVCorner(boolean vCorner)
    • setHCorner

      public void setHCorner(boolean hCorner)
    • isAdvancedDraw

      public boolean isAdvancedDraw()
    • setAdvancedDraw

      public void setAdvancedDraw(boolean advancedDraw)
    • getIndexes

      public List<Integer> getIndexes()
    • getTheOneIndex

      public Integer getTheOneIndex()
    • deselectAll

      public void deselectAll()
    • setIndexes

      public void setIndexes(List<Integer> index)
    • addIndex

      public void addIndex(int index)
    • removeIndex

      public void removeIndex(int index)
    • resetIndex

      public void resetIndex(int index)
    • moveRightLeft

      public void moveRightLeft(int x)
    • moveTopDown

      public void moveTopDown(int y)
    • zeroMovement

      public void zeroMovement()
    • getPosun

      public TPoint getPosun()
    • setPosun

      public void setPosun(TPoint p)
    • getTheSelected

      public PanoramatImage getTheSelected()
    • getImage

      public PanoramatImage getImage(int i)
    • getImageByIndex

      public PanoramatImage getImageByIndex(int i)
    • getImagesCount

      public int getImagesCount()
    • findIndex

      public void findIndex(int xxx, int yyy, boolean add)
    • getZoom

      public Double getZoom()
    • setZoom

      public void setZoom(Double zoom)
    • setImage

      public void setImage(PanoramatImage image, int index)
    • loadImage

      public void loadImage(File f, int index) throws IOException
      Throws:
      IOException
    • paint

      public void paint(Graphics g)
      Overrides:
      paint in class JComponent
    • paintComponent

      public void paintComponent(Graphics g)
      Overrides:
      paintComponent in class JComponent
    • loadTxt

      public void loadTxt(File file) throws IOException
      Throws:
      IOException
    • exportAll

      public BufferedImage exportAll(boolean biggest, boolean bluredges, boolean blurV, boolean blurH)
    • brightujSelected

      public void brightujSelected(boolean affined)
    • brightuj

      public void brightuj(int index, int ss1, int ss2, int topCorrection, int bottomCorrection)
    • brightuj

      public void brightuj(int index, int ss1, int ss2, int topCorrection, int bottomCorrection, boolean affined)
    • previewAlpha

      public void previewAlpha(int index, Graphics2D g2d)
    • getOrientation

      public boolean getOrientation()
    • getBiggestSize

      public Rectangle getBiggestSize()
    • getRealCoords

      public panoramajoinner.RealCoords getRealCoords(boolean biggest)
    • drawRect

      public TPoint drawRect(Graphics2D g2d, boolean biggest)
    • saveDeformationPoints

      public void saveDeformationPoints(File file) throws IOException
      Throws:
      IOException
    • getDeformationsPoints

      public ArrayList getDeformationsPoints()
    • drawEdges

      public void drawEdges(Graphics2D g2d)
    • affineAll

      public void affineAll(double rotate, double scalex, double scaley, double sharex, double sharey, AffineTransform af, int w, int h, int xx, int yy)