Questions tagged [extend]

Cause a unit of code (a class in POO, a style class in CSS ...) to cover a wider area.

Cause a unit of code (a class in POO, a style class in CSS ...) to cover a wider area.

1544 questions
0
votes
2 answers

Java: how to create and run class structure?

I have to create following class hierarchy. I started this way: public class Student { private String name; private int credits; public Student(String name, int credits) { this.name = name; this.credits = credits; } public String…
user1946705
  • 2,858
  • 14
  • 41
  • 58
0
votes
1 answer

Java Jung Graph Editor

I have adjacency matrices stored in a database and I would like to interactively edit them with the Java Jung graph package. Interactive graph editing can be seen in the sample GraphEditorDemo. I have completed a method that will create graph…
CodeKingPlusPlus
  • 15,383
  • 51
  • 135
  • 216
0
votes
1 answer

extending html elements in javascript

I am working on a tool that creates GUIs by assembling it from smaller pieces of the user's choice. these smaller pieces are html elements that are created programaticly. with efficiency in mind I wondered if these elements could share a prototype,…
Ido Ofir
  • 207
  • 2
  • 8
0
votes
2 answers

PHP Unable to set a private variable in an extended class

Trying to extend the FPDF class in PHP with the following code: class Reports extends FPDF{ var $reporttitle = 'TEST'; function settitle($titlename){ $this->$reporttitle = $titlename; } function…
Elcid_91
  • 1,571
  • 4
  • 24
  • 50
0
votes
1 answer

ActionBarSherlock AND GoogleLicenseCheck

I want to give my app a facelift to use the Holo-Theme, even for old devices (SDK 8 and up). So I tried to add the libraries "ActionBarSherlock" and "HoloEverywhere" to my app. My Problem now is that I have to extend my class to the…
venni
  • 594
  • 1
  • 4
  • 19
0
votes
2 answers

extend more jquery