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.

concept G22GalleryImage extends ConceptWithChangeListeners {
  settableWithVar File path;

  toString { ret /*"[" + id + "] " +*/ fileName(path); }

  bool imageExists() { ret fileExists(path); }
  
  BufferedImage load aka image aka getImage() { ret loadImage2(path); }
  
  File imageFile() { ret path; }
}

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: 174 / 279
Version history: 5 change(s)
Referenced in: [show references]