Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1034655 // G22GalleryImage

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (22738L) is out of date.

1  
concept G22GalleryImage extends ConceptWithChangeListeners {
2  
  settableWithVar File path;
3  
4  
  toString { ret /*"[" + id + "] " +*/ fileName(path); }
5  
6  
  bool imageExists() { ret fileExists(path); }
7  
  
8  
  BufferedImage load aka image aka getImage() { ret loadImage2(path); }
9  
  
10  
  File imageFile() { ret path; }
11  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034655
Snippet name: G22GalleryImage
Eternal ID of this version: #1034655/6
Text MD5: bdb92801d755f4a505f994e7507b7c00
Author: stefan
Category: javax / gazelle v
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-08-21 03:44:41
Source code size: 318 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 101 / 182
Version history: 5 change(s)
Referenced in: [show references]